public interface VersioningManager
Modifier and Type | Method and Description |
---|---|
String |
getMajorVersionPropertyName(String documentType)
Deprecated.
since 5.4, use
DocumentModel#MAJOR_VERSION directly |
String |
getMinorVersionPropertyName(String documentType)
Deprecated.
since 5.4, use
DocumentModel#MINOR_VERSION directly |
VersionIncEditOptions |
getVersionIncEditOptions(DocumentModel doc)
Get document increment options as defined by versioning rules.
|
String |
getVersionLabel(DocumentModel doc)
Gets the label for the current version of a document, for the UI.
|
DocumentModel |
incrementMajor(DocumentModel doc)
Deprecated.
since 5.4
|
DocumentModel |
incrementMinor(DocumentModel doc)
Deprecated.
since 5.4
|
VersionIncEditOptions getVersionIncEditOptions(DocumentModel doc)
doc
- the documentString getVersionLabel(DocumentModel doc)
doc
- the document@Deprecated String getMajorVersionPropertyName(String documentType)
DocumentModel#MAJOR_VERSION
directly@Deprecated String getMinorVersionPropertyName(String documentType)
DocumentModel#MINOR_VERSION
directly@Deprecated DocumentModel incrementMinor(DocumentModel doc)
doc
- the document@Deprecated DocumentModel incrementMajor(DocumentModel doc)
doc
- the documentCopyright © 2016 Nuxeo SA. All rights reserved.