public class VersioningManagerImpl extends DefaultComponent implements VersioningManager
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_ID |
lastModified
Constructor and Description |
---|
VersioningManagerImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
activate, deactivate, getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final String COMPONENT_ID
public VersioningManagerImpl()
public VersionIncEditOptions getVersionIncEditOptions(DocumentModel doc)
VersioningManager
getVersionIncEditOptions
in interface VersioningManager
doc
- the documentpublic String getVersionLabel(DocumentModel doc)
VersioningManager
getVersionLabel
in interface VersioningManager
doc
- the documentCopyright © 2017 Nuxeo. All rights reserved.