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
static String EVENT_TOPIC
          Request for de/activation event topic
 
Method Summary
 WorkflowModel getRequestForReplicationWorkflowModel(ReplicationActionType replicationType)
          Returns the preconfigured WorkflowModel for the desired ReplicationActionType.
 String getWcmConfigPath()
          Specifies the location where the wcm workflow specifx stuff is stored in repository
 Workflow getWorkflowInstance(String pagePath)
          The Workflow instance is returned.
 boolean isInWorkflow(String pagePath)
          Checks wether a Page is subject of a running Workflow instance.
 

Field Detail

EVENT_TOPIC

static final String EVENT_TOPIC
Request for de/activation event topic

See Also:
Constant Field Values
Method Detail

isInWorkflow

boolean isInWorkflow(String pagePath)
Checks wether a Page is subject of a running Workflow instance.

Parameters:
pagePath - path of Page to check
Returns:
true if Page is subject of a running workflow

getRequestForReplicationWorkflowModel

WorkflowModel getRequestForReplicationWorkflowModel(ReplicationActionType replicationType)
Returns the preconfigured WorkflowModel for the desired ReplicationActionType. This is used in case a user has no replication previlidges.

Parameters:
replicationType - replication type
Returns:
preconfigured WorkflowModel

getWorkflowInstance

Workflow getWorkflowInstance(String pagePath)
The Workflow instance is returned.

Parameters:
pagePath - page path
Returns:
the Workflow instance or null if not existing.

getWcmConfigPath

String getWcmConfigPath()
Specifies the location where the wcm workflow specifx stuff is stored in repository

Returns:
path


Copyright © 2009 Day Management AG. All Rights Reserved.