Package com.day.cq.workflow.status
Interface WorkflowStatus
-
public interface WorkflowStatusTheWorkflowStatusholds 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 WorkflowgetWorkflow()Deprecated.usegetWorkflows(boolean)insteadjava.util.List<Workflow>getWorkflows(boolean excludeSystemWorkflows)Returns theWorkflowinstancesbooleanisInRunningWorkflow()Deprecated.useisInRunningWorkflow(boolean)insteadbooleanisInRunningWorkflow(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:
trueif subject of a workflow otherwisefalse
-
isInRunningWorkflow
boolean isInRunningWorkflow(boolean excludeSystemWorkflows)
Indicates if a page is subject of a workflow- Parameters:
excludeSystemWorkflows- set totrueto exclude system workflows from the evaluation- Returns:
trueif subject of a workflow otherwisefalse
-
getWorkflow
Workflow getWorkflow()
Deprecated.usegetWorkflows(boolean)insteadReturns theWorkflowinstance- Returns:
Workflowinstance
-
-