|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersioningDocument
Declares constants and methods used to control document versions mostly when a document is saved.
Field Summary | |
---|---|
static java.lang.String |
CREATE_SNAPSHOT_ON_SAVE_KEY
Deprecated. use VersioningService#VERSIONING_OPTION instead |
static java.lang.String |
CURRENT_DOCUMENT_MAJOR_VERSION_KEY
|
static java.lang.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 java.lang.String |
DOCUMENT_WAS_SNAPSHOTTED
Deprecated. |
static java.lang.String |
KEY_FOR_INC_OPTION
Deprecated. use VersioningService#VERSIONING_OPTION instead |
static java.lang.String |
RESTORED_VERSION_UUID_KEY
Key used in options map to send the UUID of the version being restored to the listeners. |
Method Summary | |
---|---|
java.lang.Long |
getMajorVersion()
Deprecated. use VersioningService#getVersionLabel instead |
java.lang.Long |
getMinorVersion()
Deprecated. use VersioningService#getVersionLabel instead |
java.lang.String |
getVersionAsString(int majorDigits,
int minorDigits,
char sep)
Deprecated. unused |
java.lang.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(java.lang.Long value)
Deprecated. let VersioningService do its work |
void |
setMinorVersion(java.lang.Long value)
Deprecated. let VersioningService do its work |
Field Detail |
---|
@Deprecated static final java.lang.String CREATE_SNAPSHOT_ON_SAVE_KEY
VersioningService#VERSIONING_OPTION
instead@Deprecated static final java.lang.String KEY_FOR_INC_OPTION
VersioningService#VERSIONING_OPTION
instead@Deprecated static final java.lang.String DOCUMENT_WAS_SNAPSHOTTED
static final java.lang.String CURRENT_DOCUMENT_MINOR_VERSION_KEY
static final java.lang.String CURRENT_DOCUMENT_MAJOR_VERSION_KEY
static final java.lang.String RESTORED_VERSION_UUID_KEY
Method Detail |
---|
@Deprecated java.lang.Long getMinorVersion() throws DocumentException
VersioningService#getVersionLabel
instead
DocumentException
@Deprecated java.lang.Long getMajorVersion() throws DocumentException
VersioningService#getVersionLabel
instead
DocumentException
java.lang.String getVersionLabel()
"2.1"
@Deprecated void setMinorVersion(java.lang.Long value)
VersioningService
do its work
@Deprecated void setMajorVersion(java.lang.Long value)
VersioningService
do its work
@Deprecated void incrementMajor() throws DocumentException
VersioningService
do its work
DocumentException
@Deprecated void incrementMinor() throws DocumentException
VersioningService
do its work
DocumentException
@Deprecated void refetchDoc() throws DocumentException
DocumentException
@Deprecated void incrementVersions()
@Deprecated java.lang.String getVersionAsString(int majorDigits, int minorDigits, char sep) throws DocumentException
DocumentException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |