Package com.adobe.granite.workflow
Interface PayloadMap
public interface PayloadMap
The
PayloadMap is listening to workflow events (started,
terminated, completed and manages a payload map (only JCR_PATH payloads)
in order to enable quick lookup for nodes/resources which might be subject
of a workflow.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowInstances(String path, boolean excludeSystemWorkflows) Allare returned.WorkflowinstancesbooleanisInWorkflow(String path, boolean excludeSystemWorkflows) Checks whether aJCR_PATHbased path is subject of a running.Workflowinstance
-
Field Details
-
TYPE_JCR_PATH
- See Also:
-
TYPE_JCR_UUID
- See Also:
-
-
Method Details
-
isInWorkflow
Checks whether aJCR_PATHbased path is subject of a running.Workflowinstance- Parameters:
path- path to checkexcludeSystemWorkflows- set totrueto exclude system workflows from the evaluation- Returns:
trueifJCR_PATHbased path is subject of a running workflow
-
getWorkflowInstances
Allare returned.Workflowinstances- Parameters:
path- node pathexcludeSystemWorkflows- set totrueto exclude system workflows from the evaluation- Returns:
- the list of
or an empty list is returnedWorkflowinstances
-