com.aspose.note.context

Class VersionMapBase

  • All Implemented Interfaces:
    IVersionMap


    public abstract class VersionMapBase
    extends Object
    implements IVersionMap

    Represents a collection of the node versions. Maps each version of the node to a previous one.

    • Constructor Detail

      • VersionMapBase

        public VersionMapBase()
    • Method Detail

      • add

        public void add(VersionProxyNode versionProxy)

        Adds the version proxy.

        Specified by:
        add in interface IVersionMap
        Parameters:
        versionProxy - The version proxy.
      • contains

        public boolean contains(VersionProxyNode versionProxy)

        Gets a value indicating whether the version proxy map contains the specified version proxy node.

        Specified by:
        contains in interface IVersionMap
        Parameters:
        versionProxy - The version proxy.
        Returns:
        The bool.
      • getVersions

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ExtendedGuid> getVersions()

        Gets all versions of the main revision branch.

        Specified by:
        getVersions in interface IVersionMap
        Returns:
        The IEnumerable{ExtendedGuid}.