Package com.day.cq.dam.core.process
Class DeleteImagePreviewProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.DeleteImagePreviewProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Properties(@Property(name="process.label",value="Delete Image Previews Process")) public class DeleteImagePreviewProcess extends AbstractAssetWorkflowProcess
This process will automatically remove the image preview rendition.
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description DeleteImagePreviewProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
-
-
Method Detail
-
execute
public void execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException
Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
item
- The
that defines the newly startedWorkItem
JavaProcessNew
.wfSession
- The
that is used for starting theWorkflowSession
JavaProcess
.args
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
-