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 Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • getVersionLabel

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