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 Type
    Method
    Description
    void
    Removes the stored node metadata identified by the given ID.
    findById(String nodeId)
    Retrieves a node wrapper by its identifier.
    void
    Persists the given wrapped node metadata.
  • Method Details

    • save

      void save(NodeWrapper node)
      Persists the given wrapped node metadata.
      Parameters:
      node - the node wrapper to store
    • findById

      NodeWrapper findById(String nodeId)
      Retrieves a node wrapper by its identifier.
      Parameters:
      nodeId - the Alfresco node identifier
      Returns:
      the stored NodeWrapper
    • deleteById

      void deleteById(String nodeId)
      Removes the stored node metadata identified by the given ID.
      Parameters:
      nodeId - the Alfresco node identifier