Package com.day.cq.dam.core.process
Class SyncContentProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.SyncContentProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Property(name="process.label", value="Synchronize Content") @Deprecated public class SyncContentProcess extends AbstractAssetWorkflowProcess
Deprecated.Since 6.3, this is sync mechanism is not used anymore. This implementation will be removed in future releases. TheSyncContentProcess
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: - cleanup
- sync
Nodes
in /content/dam structure that hava no counterpart in the /var structure The mode sync starts for any "nt:file" in the branch aWorkflow
with theWorkflowModel
as given by the wfModelId argument and the "nt:file"'s path as payloadmode: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 ignoredwfModelId:/etc/wokflow/models/syncmodell - See Also:
AbstractAssetWorkflowProcess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SyncContentProcess.Arguments
Deprecated.The available arguments to this process implementation.static class
SyncContentProcess.Modes
Deprecated.The available modes of themode argument
.
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description SyncContentProcess()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]
buildArguments(MetaDataMap metaData)
Deprecated.void
execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)
Deprecated.
-
-
-
Method Detail
-
execute
@Deprecated public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
Deprecated.Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
workItem
- The
that defines the newly startedWorkItem
JavaProcessNew
.workflowSession
- The
that is used for starting theWorkflowSession
JavaProcess
.metaData
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
buildArguments
@Deprecated public java.lang.String[] buildArguments(MetaDataMap metaData)
Deprecated.
-
-