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 AbstractAssetWorkflowProcessDeprecated.Since 6.3, this is sync mechanism is not used anymore. This implementation will be removed in future releases. TheSyncContentProcesssnycs 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
Nodesin /content/dam structure that hava no counterpart in the /var structure The mode sync starts for any "nt:file" in the branch aWorkflowwith theWorkflowModelas 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 classSyncContentProcess.ArgumentsDeprecated.The available arguments to this process implementation.static classSyncContentProcess.ModesDeprecated.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.voidexecute(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:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Parameters:
workItem- Thethat defines the newly startedWorkItemJavaProcessNew.workflowSession- Thethat is used for starting theWorkflowSessionJavaProcess.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.
-
-