Class VersioningManagerImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.versioning.service.VersioningManagerImpl
- All Implemented Interfaces:
VersioningManager
,Adaptable
,Component
,Extensible
,TimestampedService
Versions management component implementation.
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet document increment options as defined by versioning rules.Gets the label for the current version of a document, for the UI.Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
COMPONENT_ID
Deprecated.since 10.10, seems unused- See Also:
-
-
Constructor Details
-
VersioningManagerImpl
public VersioningManagerImpl()
-
-
Method Details
-
getVersionIncEditOptions
Description copied from interface:VersioningManager
Get document increment options as defined by versioning rules.- Specified by:
getVersionIncEditOptions
in interfaceVersioningManager
- Parameters:
doc
- the document- Returns:
- a list of version increment options available for the given document
-
getVersionLabel
Description copied from interface:VersioningManager
Gets the label for the current version of a document, for the UI.- Specified by:
getVersionLabel
in interfaceVersioningManager
- Parameters:
doc
- the document- Returns:
- the version label
-