Class ReplicatePageProcess

  • All Implemented Interfaces:
    WorkflowProcess
    Direct Known Subclasses:
    ActivatePageProcess, DeactivatePageProcess, ReverseReplicateProcess

    public abstract class ReplicatePageProcess
    extends java.lang.Object
    implements WorkflowProcess
    This abstract ReplicatePageProcess class serves as the basis for all replication specific JavaProcess classes, like activate, deactivate...
    This Process starts the Replicator with the type provided by the implementing Classes getReblicationType()-method of payloads of type path or uuid
    This process checks permissions.
    In case the Session starting 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:
    replicateAsParticipant
    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 true the 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.