|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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 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. |
Method Summary | |
---|---|
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 |
Field Detail |
---|
@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
Method Detail |
---|
@Deprecated Long getMinorVersion() throws DocumentException
VersioningService#getVersionLabel
instead
DocumentException
@Deprecated Long getMajorVersion() throws DocumentException
VersioningService#getVersionLabel
instead
DocumentException
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 work
DocumentException
@Deprecated void incrementMinor() throws DocumentException
VersioningService
do its work
DocumentException
@Deprecated void refetchDoc() throws DocumentException
DocumentException
@Deprecated void incrementVersions()
@Deprecated String getVersionAsString(int majorDigits, int minorDigits, char sep) throws DocumentException
DocumentException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |