public interface DocumentVersioning
Modifier and Type | Method and Description |
---|---|
Collection<VersionModel> |
getCurrentItemVersioningHistory()
Returns the available versioning history for the current document and state.
|
Collection<VersionModel> |
getItemVersioningHistory(DocumentModel document)
Returns the available versioning options for the document parameter and state.
|
Map<String,String> |
getVersioningOptionsMap(DocumentModel documentModel)
Creates a Map with versioning options (as keys) and labels (as map entry values).
|
String |
getVersionLabel(DocumentModel document) |
void |
validateOptionSelection(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
Versioning increment options - select radio component validator method.
|
Collection<VersionModel> getItemVersioningHistory(DocumentModel document)
document
- the document for which the versioning options will be returnedCollection<VersionModel> getCurrentItemVersioningHistory()
Map<String,String> getVersioningOptionsMap(DocumentModel documentModel)
String getVersionLabel(DocumentModel document)
void validateOptionSelection(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
Copyright © 2018 Nuxeo. All rights reserved.