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 | Field and Description |
---|---|
static java.lang.String |
TYPE_JCR_PATH |
static java.lang.String |
TYPE_JCR_UUID |
Modifier and Type | Method and Description |
---|---|
java.util.List<Workflow> |
getWorkflowInstances(java.lang.String path,
boolean excludeSystemWorkflows)
All
are
returned. |
boolean |
isInWorkflow(java.lang.String path,
boolean excludeSystemWorkflows)
Checks whether a
JCR_PATH based path is subject of a running
. |
static final java.lang.String TYPE_JCR_PATH
static final java.lang.String TYPE_JCR_UUID
boolean isInWorkflow(java.lang.String path, boolean excludeSystemWorkflows)
JCR_PATH
based path is subject of a running
Workflow
instance
.path
- path to checkexcludeSystemWorkflows
- set to true
to exclude system
workflows from the evaluationtrue
if JCR_PATH
based path is subject of a
running workflowjava.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 - 2020 Adobe. All Rights Reserved