Interface VersioningDocument

All Known Implementing Classes:
VersioningDocumentAdapter

public interface VersioningDocument
Declares constants and methods used to control document versions mostly when a document is saved.
Author:
Dragos Mihalache
  • Field Details

    • CURRENT_DOCUMENT_MINOR_VERSION_KEY

      static final String CURRENT_DOCUMENT_MINOR_VERSION_KEY
      Key used in options map to send current versions to versioning listener so it will know what version the document had before restoring.
      See Also:
    • CURRENT_DOCUMENT_MAJOR_VERSION_KEY

      static final String CURRENT_DOCUMENT_MAJOR_VERSION_KEY
      See Also:
    • RESTORED_VERSION_UUID_KEY

      static final String RESTORED_VERSION_UUID_KEY
      Key used in options map to send the UUID of the version being restored to the listeners.
      See Also:
  • Method Details

    • getVersionLabel

      String getVersionLabel()
      Returns a string representation of the version number.
      Returns:
      a string, like "2.1"