Package de.espirit.firstspirit.workflow
Interface WebeditElementStatusProviderPlugin
Provides information of which elements should be available for workflow actions and in which release state is a given element.
- Since:
- 5.0.206
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Factory tocreate
aWorkflowGroup
.static enum
Kind of release state of a given element. -
Method Summary
Modifier and TypeMethodDescriptiongetReleaseState
(@NotNull IDProvider element) Returns the release state of the givenelement
, consider depending objects like it's page or references media.@NotNull List<WorkflowGroup>
getWorkflowGroups
(@NotNull IDProvider element) Returns a list ofWorkflowGroup
objects, each group should contain elements with common workflow actions.default boolean
isSupported
(@NotNull IDProvider element) Returns whether or not this plugin can provide status information for the given element.
-
Method Details
-
getWorkflowGroups
Returns a list ofWorkflowGroup
objects, each group should contain elements with common workflow actions.- Parameters:
element
- The element to return the available workflow groups for.- Returns:
- workflow groups.
- Since:
- 5.0.206
- See Also:
-
getReleaseState
@NotNull @NotNull WebeditElementStatusProviderPlugin.State getReleaseState(@NotNull @NotNull IDProvider element) Returns the release state of the givenelement
, consider depending objects like it's page or references media.- Parameters:
element
- The element to return the release state for.- Returns:
- release state of the given
element
. - Since:
- 5.0.206
- See Also:
-
isSupported
Returns whether or not this plugin can provide status information for the given element. By default this method supportsPageRef
andDataset
elements.- Parameters:
element
- The element to check for support.- Returns:
true
if this plugin supports this element type,false
otherwise.- Since:
- 5.2.201208
-