Interface HierarchyManager

  • All Known Implementing Classes:
    HierarchyManagerImpl

    public interface HierarchyManager
    HierarchyManager...
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dispose()
      Dispose this HierarchyManager
      int getDepth​(HierarchyEntry hierarchyEntry)
      Returns the depth of the specified item.
      NodeEntry getNodeEntry​(org.apache.jackrabbit.spi.NodeId nodeId)
      Resolves a itemId into a HierarchyEntry.
      NodeEntry getNodeEntry​(org.apache.jackrabbit.spi.Path qPath)
      Resolves a path into a NodeEntry.
      NodeState getNodeState​(org.apache.jackrabbit.spi.Path qPath)
      Retrieves the NodeEntry corresponding to the given path and resolves it to the underlying NodeState.
      PropertyEntry getPropertyEntry​(org.apache.jackrabbit.spi.Path qPath)
      Resolves a path into a PropertyEntry.
      PropertyEntry getPropertyEntry​(org.apache.jackrabbit.spi.PropertyId propertyId)
      Resolves a propertyId into a PropertyEntry.
      PropertyState getPropertyState​(org.apache.jackrabbit.spi.Path qPath)
      Retrieves the PropertyEntry corresponding to the given path and resolves it to the underlying PropertyState.
      int getRelativeDepth​(NodeEntry ancestor, HierarchyEntry descendant)
      Returns the depth of the specified descendant relative to the given ancestor.
      NodeEntry getRootEntry()  
      HierarchyEntry lookup​(org.apache.jackrabbit.spi.ItemId workspaceItemId)
      Lookup of HierarchyEntry by its workspace Id that may be different if a entry (or any of its ancestors) has been transiently moved or reordered.
      HierarchyEntry lookup​(org.apache.jackrabbit.spi.Path workspacePath)
      Lookup of HierarchyEntry by its workspace path that may be different if a entry (or any of its ancestors) has been transiently moved or reordered.