public interface DocumentVersioning
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
factoryForRenderVersioningOption()
Deprecated. 
 
since 5.7.3: rendered clause for available versioning
             options are resolved by the widget now 
 | 
Map<String,String> | 
getAvailableVersioningOptionsMap()
Deprecated. 
 
since 5.7.3: available versioning options are resolved by
             the widget now 
 | 
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. 
 | 
String | 
getVersioningOptionInstanceId()
Deprecated. 
 
since 5.7.3: selected option is not kept on this bean
             anymore, it's kept by the JSF component behind widget
             definition 
 | 
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 | 
setVersioningOptionInstanceId(DocumentModel document,
                             String optionId)
Deprecated. 
 
since 5.7.3: document context map is now filled directly by
             the widget 
 | 
void | 
setVersioningOptionInstanceId(DocumentModel document,
                             VersioningActions option)
Deprecated. 
 
since 5.7.3: document context map is now filled directly by
             the widget 
 | 
void | 
setVersioningOptionInstanceId(String optionId)
Deprecated. 
 
since 5.7.3: document context map is now filled directly by
             the widget 
 | 
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)
@Deprecated Map<String,String> getAvailableVersioningOptionsMap()
String getVersionLabel(DocumentModel document) throws ClientException
ClientException@Deprecated String getVersioningOptionInstanceId()
@Deprecated boolean factoryForRenderVersioningOption()
@Deprecated void setVersioningOptionInstanceId(String optionId) throws ClientException
ClientException@Deprecated void setVersioningOptionInstanceId(DocumentModel document, String optionId) throws ClientException
ClientException@Deprecated void setVersioningOptionInstanceId(DocumentModel document, VersioningActions option) throws ClientException
ClientExceptionvoid validateOptionSelection(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component,
                           Object value)
Copyright © 2014 Nuxeo SA. All rights reserved.