public interface PayloadMap
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.| Modifier and Type | Method and Description |
|---|---|
Workflow |
getWorkflowInstance(java.lang.String path)
Deprecated.
use
getWorkflowInstances(String, boolean) instead! |
java.util.List<Workflow> |
getWorkflowInstances(java.lang.String path,
boolean excludeSystemWorkflows)
All
are
returned. |
boolean |
isInWorkflow(java.lang.String path)
Deprecated.
use
isInWorkflow(String, boolean) instead! |
boolean |
isInWorkflow(java.lang.String path,
boolean excludeSystemWorkflows)
Checks whether a
JCR_PATHbased path is subject of a running
. |
boolean isInWorkflow(java.lang.String path)
isInWorkflow(String, boolean) instead!JCR_PATHbased path is subject of a running
Workflow instance.
Note:The system workflows (can be defined per osgi config) won't
be taken in account here!path - path to checktrue if JCR_PATHbased path is subject of a
running workflowboolean isInWorkflow(java.lang.String path,
boolean excludeSystemWorkflows)
JCR_PATHbased path is subject of a running
Workflow instance.path - path to checkexcludeSystemWorkflows - set to true to exclude system
workflows from the evaluationtrue if JCR_PATHbased path is subject of a
running workflowWorkflow getWorkflowInstance(java.lang.String path)
getWorkflowInstances(String, boolean) instead!Workflow instance is
returned.
Note:The system workflows (can be defined per osgi config) won't
be taken in account here!path - node pathWorkflow instance
or null if not existing.java.util.List<Workflow> getWorkflowInstances(java.lang.String path, boolean excludeSystemWorkflows)
Workflow instances are
returned.path - node pathexcludeSystemWorkflows - set to true to exclude system
workflows from the evaluationWorkflow instances
or an empty list is returnedCopyright © 2010 - 2023 Adobe. All Rights Reserved