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 |
DOCUMENT_WAS_SNAPSHOTTED
Deprecated.
|
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 |
getVersionAsString(int majorDigits,
int minorDigits,
char sep)
Deprecated.
unused
|
String |
getVersionLabel()
Returns a string representation of the version number.
|
void |
incrementMajor()
Deprecated.
let
VersioningService do its work |
void |
incrementMinor()
Deprecated.
let
VersioningService do its work |
void |
incrementVersions()
Deprecated.
unused
|
void |
refetchDoc()
Deprecated.
unused
|
void |
setMajorVersion(Long value)
Deprecated.
let
VersioningService do its work |
void |
setMinorVersion(Long value)
Deprecated.
let
VersioningService do its work |
@Deprecated static final String CREATE_SNAPSHOT_ON_SAVE_KEY
VersioningService#VERSIONING_OPTION
instead@Deprecated static final String KEY_FOR_INC_OPTION
VersioningService#VERSIONING_OPTION
instead@Deprecated static final String DOCUMENT_WAS_SNAPSHOTTED
static 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() throws DocumentException
VersioningService#getVersionLabel
insteadDocumentException
@Deprecated Long getMajorVersion() throws DocumentException
VersioningService#getVersionLabel
insteadDocumentException
String getVersionLabel()
"2.1"
@Deprecated void setMinorVersion(Long value)
VersioningService
do its work@Deprecated void setMajorVersion(Long value)
VersioningService
do its work@Deprecated void incrementMajor() throws DocumentException
VersioningService
do its workDocumentException
@Deprecated void incrementMinor() throws DocumentException
VersioningService
do its workDocumentException
@Deprecated void refetchDoc() throws DocumentException
DocumentException
@Deprecated void incrementVersions()
@Deprecated String getVersionAsString(int majorDigits, int minorDigits, char sep) throws DocumentException
DocumentException
Copyright © 2011 Nuxeo SA. All Rights Reserved.