Package com.day.cq.workflow.status
Interface WorkflowStatus
-
public interface WorkflowStatus
TheWorkflowStatus
holds all information for a node which is in the workflow or even not
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Workflow
getWorkflow()
Deprecated.usegetWorkflows(boolean)
insteadjava.util.List<Workflow>
getWorkflows(boolean excludeSystemWorkflows)
Returns theWorkflow
instancesboolean
isInRunningWorkflow()
Deprecated.useisInRunningWorkflow(boolean)
insteadboolean
isInRunningWorkflow(boolean excludeSystemWorkflows)
Indicates if a page is subject of a workflow
-
-
-
Method Detail
-
isInRunningWorkflow
boolean isInRunningWorkflow()
Deprecated.useisInRunningWorkflow(boolean)
insteadIndicates if a page is subject of a workflow and excludes always system workflows.- Returns:
true
if subject of a workflow otherwisefalse
-
isInRunningWorkflow
boolean isInRunningWorkflow(boolean excludeSystemWorkflows)
Indicates if a page is subject of a workflow- Parameters:
excludeSystemWorkflows
- set totrue
to exclude system workflows from the evaluation- Returns:
true
if subject of a workflow otherwisefalse
-
getWorkflow
Workflow getWorkflow()
Deprecated.usegetWorkflows(boolean)
insteadReturns theWorkflow
instance- Returns:
Workflow
instance
-
-