public class DeleteDamAssetProcess extends AbstractAssetWorkflowProcess
DeleteDamAssetProcess
will delete the file in the /var/dam
when the asset in the /content/dam location got deleted. Deletes an
Item
for the Payload under the following condition:Example with the following workflow step arguments:
/content/dam/, /var/dam/
If the Payload points to /content/dam/geometrixx/buildings, The
Process checks if an Item
exists at
/var/dam/geometrixx/buildings. If there is an Item and this
Item is not involved in a Workflowm, it will be deleted.
Arguments:
Index: | Name: | Description | Example |
0 | Source Root | Absolute Path the Payload's relative path should be calculated NOTE:The root must end with an / character |
/content/dam/ |
1 | Destination Root | Absolute Path the matching Item to the Payload should be search for NOTE:The root must end with an / character |
/var/dam/ |
AbstractAssetWorkflowProcess
Modifier and Type | Class and Description |
---|---|
static class |
DeleteDamAssetProcess.Arguments
The available arguments to this process implementation.
|
TYPE_JCR_PATH
Constructor and Description |
---|
DeleteDamAssetProcess() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
buildArguments(MetaDataMap metaData) |
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaData) |
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"