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
Constructors -
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, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Constructor Details
-
VersioningManagerImpl
public VersioningManagerImpl()
-
-
Method Details
-
getVersionIncEditOptions
Description copied from interface:VersioningManagerGet document increment options as defined by versioning rules.- Specified by:
getVersionIncEditOptionsin interfaceVersioningManager- Parameters:
doc- the document- Returns:
- a list of version increment options available for the given document
-
getVersionLabel
Description copied from interface:VersioningManagerGets the label for the current version of a document, for the UI.- Specified by:
getVersionLabelin interfaceVersioningManager- Parameters:
doc- the document- Returns:
- the version label
-