Interface VersioningManager

All Known Implementing Classes:
VersioningManagerImpl

public interface VersioningManager
Interface for the Versioning Manager (a service).
  • Method Details

    • getVersionIncEditOptions

      VersionIncEditOptions getVersionIncEditOptions(DocumentModel doc)
      Get document increment options as defined by versioning rules.
      Parameters:
      doc - the document
      Returns:
      a list of version increment options available for the given document
    • getVersionLabel

      String getVersionLabel(DocumentModel doc)
      Gets the label for the current version of a document, for the UI.
      Parameters:
      doc - the document
      Returns:
      the version label