Package org.saidone.processors
Class TrashcanNodeProcessor
java.lang.Object
org.saidone.component.BaseComponent
org.saidone.processors.AbstractNodeProcessor
org.saidone.processors.TrashcanNodeProcessor
- All Implemented Interfaces:
NodeProcessor,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
Processes deleted nodes from Alfresco trashcan.
Supported operations are configured through processor argument op:
delete(default): permanently removes the node from trashcanrestore: restores the node to its original location
-
Field Summary
Fields inherited from class org.saidone.processors.AbstractNodeProcessor
nodesApi, readOnly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessNode(String nodeId, ProcessorConfig config) Executes the configured operation on the provided deleted-node identifier.Methods inherited from class org.saidone.processors.AbstractNodeProcessor
getNode, getNode, getNode, processMethods inherited from class org.saidone.component.BaseComponent
setApplicationContext, shutDown, start, stop
-
Constructor Details
-
TrashcanNodeProcessor
public TrashcanNodeProcessor()
-
-
Method Details
-
processNode
Executes the configured operation on the provided deleted-node identifier.- Parameters:
nodeId- id of the deleted node in trashcanconfig- processor configuration whereargs.opisdeleteorrestore
-