|
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 VersioningManager
Interface for the Versioning Manager (a service).
Method Summary | |
---|---|
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 |
Method Detail |
---|
VersionIncEditOptions getVersionIncEditOptions(DocumentModel doc) throws ClientException
doc
- the document
ClientException
String getVersionLabel(DocumentModel doc) throws ClientException
doc
- the document
ClientException
@Deprecated String getMajorVersionPropertyName(String documentType)
DocumentModel#MAJOR_VERSION
directly
@Deprecated String getMinorVersionPropertyName(String documentType)
DocumentModel#MINOR_VERSION
directly
@Deprecated DocumentModel incrementMinor(DocumentModel doc) throws ClientException
doc
- the document
ClientException
@Deprecated DocumentModel incrementMajor(DocumentModel doc) throws ClientException
doc
- the document
ClientException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |