Class VersionHistoryInfo


  • public class VersionHistoryInfo
    extends Object
    Simple data object that carries the identifiers of a version history node and the related root version node.
    Since:
    Apache Jackrabbit 1.5
    See Also:
    JCR-1775
    • Constructor Detail

      • VersionHistoryInfo

        public VersionHistoryInfo​(NodeId versionHistoryId,
                                  NodeId rootVersionId)
        Creates an object that carries the given version history information.
        Parameters:
        versionHistoryId - identifier of the version history node
        rootVersionId - identifier of the root version node
    • Method Detail

      • getVersionHistoryId

        public NodeId getVersionHistoryId()
        Returns the identifier of the version history node.
      • getRootVersionId

        public NodeId getRootVersionId()
        Returns the identifier of the root version node.