Package org.saidone.service
Interface NodeService
- All Known Implementing Classes:
MongoNodeService
public interface NodeService
Service abstraction for persisting and retrieving node metadata within the
vault. Implementations typically store
NodeWrapper
instances in a
backing store such as MongoDB.-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(String nodeId) Removes the stored node metadata identified by the given ID.Retrieves a node wrapper by its identifier.void
save
(NodeWrapper node) Persists the given wrapped node metadata.
-
Method Details
-
save
Persists the given wrapped node metadata.- Parameters:
node
- the node wrapper to store
-
findById
Retrieves a node wrapper by its identifier.- Parameters:
nodeId
- the Alfresco node identifier- Returns:
- the stored
NodeWrapper
-
deleteById
Removes the stored node metadata identified by the given ID.- Parameters:
nodeId
- the Alfresco node identifier
-