Package com.day.cq.wcm.workflow.api
Interface WcmWorkflowService
-
public interface WcmWorkflowServiceTheWcmWorkflowServiceinterface defines (util) methods that are used in the WCM system in cunjunction with the workflow engine.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_TOPICRequest for de/activation event topic
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowModelgetRequestForReplicationWorkflowModel(ReplicationActionType replicationType)Returns the preconfiguredfor the desiredWorkflowModel.ReplicationActionTypejava.lang.StringgetWcmConfigPath()Specifies the location where the wcm workflow specifx stuff is stored in repositoryWorkflowgetWorkflowInstance(java.lang.String pagePath)Theis returned.WorkflowinstancebooleanisInWorkflow(java.lang.String pagePath)
-
-
-
Field Detail
-
EVENT_TOPIC
static final java.lang.String EVENT_TOPIC
Request for de/activation event topic- See Also:
- Constant Field Values
-
-
Method Detail
-
isInWorkflow
boolean isInWorkflow(java.lang.String pagePath)
-
getRequestForReplicationWorkflowModel
WorkflowModel getRequestForReplicationWorkflowModel(ReplicationActionType replicationType)
Returns the preconfiguredfor the desiredWorkflowModel. This is used in case a user has no replication previlidges.ReplicationActionType- Parameters:
replicationType- replication type- Returns:
- preconfigured
WorkflowModel
-
getWorkflowInstance
Workflow getWorkflowInstance(java.lang.String pagePath)
Theis returned.Workflowinstance- Parameters:
pagePath- page path- Returns:
- the
orWorkflowinstancenullif not existing.
-
getWcmConfigPath
java.lang.String getWcmConfigPath()
Specifies the location where the wcm workflow specifx stuff is stored in repository- Returns:
- path
-
-