- All Implemented Interfaces:
public abstract class ReplicatePageProcess extends Object implements WorkflowProcessThis abstract
ReplicatePageProcessclass serves as the basis for all replication specific
JavaProcessclasses, like activate, deactivate...
This Process starts the Replicator with the type provided by the implementing Classes
getReblicationType()-methodof payloads of type path or uuid
This process checks permissions.
In case the
Sessionstarting the process is lacking the Privilege to replicate, an event of this topic
"com/day/cq/wcm/workflow/req/for/activation"is send out. Listeners to this topic, may handle this situation. Configuration This process supports the following configuration arguments:
- Boolean flag indicating if the replication should be performed under the context of the latest participant, Default is
false, meaning the replication is performed as workflow-session-service-user. This process supports this configuration either as a dedicated process arguments or as part of the generic PROCESS_ARGS argument. If set to
truethe workflow model must have a participant or dynamic participant step modeled ahead this replication process, to determine the participant. If no participant can be determined, it falls back to workflow-session-service-user.
Constructors Constructor Description
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description
execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)
for which this class is designed for.
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowExceptionDescription copied from interface:
- Specified by:
that defines the newly started
that is used for starting the
args- Process specific arguments can be passed here
WorkflowException- Thrown in case something goes wrong during execution.
- See Also:
WorkflowProcess.execute(com.day.cq.workflow.exec.WorkItem, com.day.cq.workflow.WorkflowSession, com.day.cq.workflow.metadata.MetaDataMap)