SyncContentProcess snycs the content below /content/dam in
two selectable modes.
Expects its Payload to point to a nt:folder
Arguments:
| Prefix | Description | Example |
| mode: | one of the follwoing:
Nodes in
/content/dam structure that hava no counterpart in the /var structure The
mode sync starts for any in the branch a
Workflow with the
WorkflowModel as given by the
wfModelId argument and the 's path as
payload |
mode:sync |
| wfModelId: | Idendifier of a WorkflowModel. This Workflow will be started on Assets
added by this Process in mode sync. In mode clean this argument is ignored |
wfModelId:/etc/wokflow/models/syncmodell |
@Service
@Property(name="process.label",
value="Synchronize Content")
@Deprecated
public class SyncContentProcess
extends AbstractAssetWorkflowProcess
AbstractAssetWorkflowProcess| Modifier and Type | Class and Description |
|---|---|
static class |
SyncContentProcess.Arguments
Deprecated.
The available arguments to this process implementation.
|
static class |
SyncContentProcess.Modes
Deprecated.
The available modes of the
mode argument. |
TYPE_JCR_PATH| Constructor and Description |
|---|
SyncContentProcess()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
buildArguments(MetaDataMap metaData)
Deprecated.
|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaData)
Deprecated.
|
@Deprecated public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.workItem - The WorkItem that defines the newly
started JavaProcessNew.workflowSession - The WorkflowSession
that is used for starting the JavaProcess.metaData - Process specific arguments can be passed hereWorkflowException - Thrown in case something goes wrong during execution.@Deprecated public java.lang.String[] buildArguments(MetaDataMap metaData)
Copyright © 2010 - 2023 Adobe. All Rights Reserved