Package org.nuxeo.ecm.core.versioning
Class VersioningDocumentAdapter
java.lang.Object
org.nuxeo.ecm.core.versioning.VersioningDocumentAdapter
- All Implemented Interfaces:
VersioningDocument
Adapter showing the versioning aspects of documents.
-
Field Summary
Fields inherited from interface org.nuxeo.ecm.core.api.facet.VersioningDocument
CURRENT_DOCUMENT_MAJOR_VERSION_KEY, CURRENT_DOCUMENT_MINOR_VERSION_KEY, RESTORED_VERSION_UUID_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a string representation of the version number.
-
Field Details
-
doc
-
service
-
-
Constructor Details
-
VersioningDocumentAdapter
-
-
Method Details
-
getVersionLabel
Description copied from interface:VersioningDocument
Returns a string representation of the version number.- Specified by:
getVersionLabel
in interfaceVersioningDocument
- Returns:
- a string, like
"2.1"
-