Package com.day.cq.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.-
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowInstance
(String path) Deprecated.getWorkflowInstances
(String path, boolean excludeSystemWorkflows) All
are returned.Workflow
instancesboolean
isInWorkflow
(String path) Deprecated.useisInWorkflow(String, boolean)
instead!boolean
isInWorkflow
(String path, boolean excludeSystemWorkflows) Checks whether aJCR_PATH
based path is subject of a runningWorkflow
instance
-
Method Details
-
isInWorkflow
Deprecated.useisInWorkflow(String, boolean)
instead!Checks whether aJCR_PATH
based path is subject of a runningWorkflow
instance- Parameters:
path
- path to check- Returns:
true
ifJCR_PATH
based path is subject of a running workflow
-
isInWorkflow
Checks whether aJCR_PATH
based path is subject of a runningWorkflow
instance- Parameters:
path
- path to checkexcludeSystemWorkflows
- set totrue
to exclude system workflows from the evaluation- Returns:
true
ifJCR_PATH
based path is subject of a running workflow
-
getWorkflowInstance
Deprecated.usegetWorkflowInstances(String, boolean)
instead!The
is returned. Note:The system workflows (can be defined per osgi config) won't be taken in account here!Workflow
instance- Parameters:
path
- node path- Returns:
- the
orWorkflow
instancenull
if not existing.
-
getWorkflowInstances
All
are returned.Workflow
instances- Parameters:
path
- node pathexcludeSystemWorkflows
- set totrue
to exclude system workflows from the evaluation- Returns:
- the list of
or an empty list is returnedWorkflow
instances
-
getWorkflowInstances(String, boolean)
instead!