Interface VersioningManager
-
- All Known Implementing Classes:
VersioningManagerImpl
public interface VersioningManager
Interface for the Versioning Manager (a service).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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
-
-