Class TrashcanNodeProcessor

All Implemented Interfaces:
NodeProcessor, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component public class TrashcanNodeProcessor extends AbstractNodeProcessor
Processes deleted nodes from Alfresco trashcan.

Supported operations are configured through processor argument op:

  • delete (default): permanently removes the node from trashcan
  • restore: restores the node to its original location
  • Constructor Details

    • TrashcanNodeProcessor

      public TrashcanNodeProcessor()
  • Method Details

    • processNode

      public void processNode(String nodeId, ProcessorConfig config)
      Executes the configured operation on the provided deleted-node identifier.
      Parameters:
      nodeId - id of the deleted node in trashcan
      config - processor configuration where args.op is delete or restore