Package com.day.cq.wcm.workflow.api
Interface WcmWorkflowService
-
public interface WcmWorkflowService
TheWcmWorkflowService
interface 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.String
EVENT_TOPIC
Request for de/activation event topic
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowModel
getRequestForReplicationWorkflowModel(ReplicationActionType replicationType)
Returns the preconfigured
for the desiredWorkflowModel
.ReplicationActionType
java.lang.String
getWcmConfigPath()
Specifies the location where the wcm workflow specifx stuff is stored in repositoryWorkflow
getWorkflowInstance(java.lang.String pagePath)
The
is returned.Workflow
instanceboolean
isInWorkflow(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 preconfigured
for 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)
The
is returned.Workflow
instance- Parameters:
pagePath
- page path- Returns:
- the
orWorkflow
instancenull
if not existing.
-
getWcmConfigPath
java.lang.String getWcmConfigPath()
Specifies the location where the wcm workflow specifx stuff is stored in repository- Returns:
- path
-
-