public interface VersioningDocument
Modifier and Type | Field and Description |
---|---|
static String |
CREATE_SNAPSHOT_ON_SAVE_KEY
Deprecated.
use
VersioningService#VERSIONING_OPTION instead |
static String |
CURRENT_DOCUMENT_MAJOR_VERSION_KEY |
static 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.
|
static String |
KEY_FOR_INC_OPTION
Deprecated.
use
VersioningService#VERSIONING_OPTION instead |
static String |
RESTORED_VERSION_UUID_KEY
Key used in options map to send the UUID of the version being restored to the listeners.
|
Modifier and Type | Method and Description |
---|---|
Long |
getMajorVersion()
Deprecated.
use
VersioningService#getVersionLabel instead |
Long |
getMinorVersion()
Deprecated.
use
VersioningService#getVersionLabel instead |
String |
getVersionLabel()
Returns a string representation of the version number.
|
@Deprecated static final String CREATE_SNAPSHOT_ON_SAVE_KEY
VersioningService#VERSIONING_OPTION
instead@Deprecated static final String KEY_FOR_INC_OPTION
VersioningService#VERSIONING_OPTION
insteadstatic final String CURRENT_DOCUMENT_MINOR_VERSION_KEY
static final String CURRENT_DOCUMENT_MAJOR_VERSION_KEY
static final String RESTORED_VERSION_UUID_KEY
@Deprecated Long getMinorVersion()
VersioningService#getVersionLabel
instead@Deprecated Long getMajorVersion()
VersioningService#getVersionLabel
insteadString getVersionLabel()
"2.1"
Copyright © 2015 Nuxeo SA. All rights reserved.