@Service
@Property(name="process.label",
value="Delete Asset")
public class DeleteAssetProcess
extends AbstractAssetWorkflowProcess
DeleteAssetProcess will delete the asset content if the real
asset disappears.
Example:
If /var/dam/abc.jpg is deleted via webdav then /content/dam/abc.jpg will be
removed
TYPE_JCR_PATH| Constructor and Description |
|---|
DeleteAssetProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.workItem - The WorkItem that defines the newly
started JavaProcessNew.workflowSession - The WorkflowSession
that is used for starting the JavaProcess.args - Process specific arguments can be passed hereWorkflowException - Thrown in case something goes wrong during execution.Copyright © 2010 - 2023 Adobe. All Rights Reserved