Package com.day.cq.dam.core.process
Class CreateSubAssetsProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.CreateSubAssetsProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Property(name="process.label", value="Create Sub Asset") public class CreateSubAssetsProcess extends AbstractAssetWorkflowProcessTheCreateSubAssetsProcessis called in a workflow process step. This process will fragment an asset in its subassets.
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description CreateSubAssetsProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)Executes a new Java process with the givenandWorkItem.WorkflowSession
-
-
-
Method Detail
-
execute
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
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.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-
-