Class ExtractExportDataProcess

  • All Implemented Interfaces:
    WorkflowProcess

    @Service
    @Property(name="process.label",
              value="Extract Export Data")
    public class ExtractExportDataProcess
    extends java.lang.Object
    implements WorkflowProcess

    Extracts the payload path and saves it as a sling:Folder property PN_PAYLOAD below a a predefined destPath provided as process argument. The sling:Folder node name is a SHA-1 hexadecimal representation of the payload path. The node will be created only if it does not exist already.

    Process is only executed if the destPath argument is provided and the payload type is JCR_PATH.

    Arguments:
    Prefix Example
    destPath destPath:/var/dataexport/example