Package com.day.cq.wcm.workflow.api
Interface WcmWorkflowService
public interface WcmWorkflowService
The
WcmWorkflowService
interface defines (util) methods that are
used in the WCM system in cunjunction with the workflow engine.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetRequestForReplicationWorkflowModel
(ReplicationActionType replicationType) Returns the preconfigured
for the desiredWorkflowModel
.ReplicationActionType
Specifies the location where the wcm workflow specifx stuff is stored in repositorygetWorkflowInstance
(String pagePath) The
is returned.Workflow
instanceboolean
isInWorkflow
(String pagePath)
-
Field Details
-
EVENT_TOPIC
Request for de/activation event topic- See Also:
-
-
Method Details
-
isInWorkflow
-
getRequestForReplicationWorkflowModel
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
The
is returned.Workflow
instance- Parameters:
pagePath
- page path- Returns:
- the
orWorkflow
instancenull
if not existing.
-
getWcmConfigPath
String getWcmConfigPath()Specifies the location where the wcm workflow specifx stuff is stored in repository- Returns:
- path
-