public abstract class ReplicatePageProcess extends Object implements WorkflowProcess
ReplicatePageProcess
class serves as the basis for
all replication specific JavaProcess
classes, like activate,
deactivate...getReblicationType()-method
of payloads of type path or uuidSession
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:
false
,
meaning the replication is performed as admin. 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 daynamic participant step modeled ahead this replication process, to determine the participant. If no
participant can be determined, it falls back to admin.
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_JCR_PATH |
static String |
TYPE_JCR_UUID |
Constructor and Description |
---|
ReplicatePageProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
abstract ReplicationActionType |
getReplicationType()
Specifies the
for which this
class is designed for. |
public static final String TYPE_JCR_PATH
public static final String TYPE_JCR_UUID
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.execute
in interface WorkflowProcess
workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- The WorkflowSession
that is used for starting the JavaProcess
.args
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.WorkflowProcess.execute(com.day.cq.workflow.exec.WorkItem,
com.day.cq.workflow.WorkflowSession,
com.day.cq.workflow.metadata.MetaDataMap)
public abstract ReplicationActionType getReplicationType()
ReplicationActionType
for which this
class is designed for.ReplicationActionType
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"