Interface VersioningManager
-
- All Known Implementing Classes:
VersioningManagerImpl
public interface VersioningManagerInterface for the Versioning Manager (a service).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionIncEditOptionsgetVersionIncEditOptions(DocumentModel doc)Get document increment options as defined by versioning rules.StringgetVersionLabel(DocumentModel doc)Gets the label for the current version of a document, for the UI.
-
-
-
Method Detail
-
getVersionIncEditOptions
VersionIncEditOptions getVersionIncEditOptions(DocumentModel doc)
Get document increment options as defined by versioning rules.- Parameters:
doc- the document- Returns:
- a list of version increment options available for the given document
-
getVersionLabel
String getVersionLabel(DocumentModel doc)
Gets the label for the current version of a document, for the UI.- Parameters:
doc- the document- Returns:
- the version label
-
-