Package com.day.cq.wcm.workflow.process
Class UnpublishPageProcess
java.lang.Object
com.day.cq.wcm.workflow.process.ReplicatePageProcess
com.day.cq.wcm.workflow.process.UnpublishPageProcess
- All Implemented Interfaces:
WorkflowProcess
@Service(WorkflowProcess.class)
@Property(name="process.label",
value="Deactivate Page from both Publish and Preview")
public class UnpublishPageProcess
extends ReplicatePageProcess
-
Field Summary
Fields inherited from class com.day.cq.wcm.workflow.process.ReplicatePageProcess
TYPE_JCR_PATH, TYPE_JCR_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) Executes a new Java process with the givenandWorkItem.WorkflowSessionSpecifies thefor which this class is designed for.ReplicationActionType
-
Constructor Details
-
UnpublishPageProcess
public UnpublishPageProcess()
-
-
Method Details
-
execute
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException Description copied from interface:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Specified by:
executein interfaceWorkflowProcess- Overrides:
executein classReplicatePageProcess- Parameters:
workItem- Thethat defines the newly startedWorkItemJavaProcessNew.workflowSession- Thethat is used for starting theWorkflowSessionJavaProcess.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.- See Also:
-
getReplicationType
Description copied from class:ReplicatePageProcessSpecifies thefor which this class is designed for.ReplicationActionType- Specified by:
getReplicationTypein classReplicatePageProcess- Returns:
ReplicationActionType
-