Interface InternalVersionHistory

    • Method Detail

      • hasVersion

        boolean hasVersion​(Name versionName)
        Checks if the version with the given name exists in this version history.
        Parameters:
        versionName - the name of the version
        Returns:
        true if the version exists; false otherwise.
      • getVersion

        InternalVersion getVersion​(NodeId id)
        Returns the version with the given uuid or null if the respective version does not exist.
        Parameters:
        id - the id of the version
        Returns:
        the internal version ot null
      • getNumVersions

        int getNumVersions()
        Returns the number of versions in this version history.
        Returns:
        the number of versions, including the root version.
      • getVersionableId

        NodeId getVersionableId()
        Returns the id of the versionable node that this history belongs to.
        Returns:
        the id of the versionable node.
      • getVersionLabels

        Name[] getVersionLabels()
        Returns a name array of all version labels that exist in this version history
        Returns:
        the labels
      • getVersionNames

        Name[] getVersionNames()
        Returns a name array of all version names that exist in this version history.
        Returns:
        the names
      • getVersionLabelsId

        NodeId getVersionLabelsId()
        Returns the Id of the version labels node.
        Returns:
        the id of the version labels node.