Class DeleteDamAssetProcess

  • All Implemented Interfaces:
    WorkflowProcess

    @Service
    @Property(name="process.label",
              value="Delete Dam Asset")
    public class DeleteDamAssetProcess
    extends AbstractAssetWorkflowProcess
    The 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:
    The Payloads relative path to a given source root exists in a given destination branch.

    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/
    See Also:
    AbstractAssetWorkflowProcess
    • Constructor Detail

      • DeleteDamAssetProcess

        public DeleteDamAssetProcess()