public interface DocumentVersioning
| Modifier and Type | Method and Description |
|---|---|
String |
factoryForIncrementationRules() |
boolean |
factoryForRenderVersioningOption() |
Map<String,String> |
getAvailableVersioningOptionsMap() |
boolean |
getCreateSnapshot()
Deprecated.
since 5.4
|
Collection<VersionModel> |
getCurrentItemVersioningHistory()
Returns the available versioning history for the current document and
state.
|
Collection<VersioningActions> |
getCurrentItemVersioningOptions()
Deprecated.
since 5.4
|
boolean |
getDefaultCreateSnapshot()
Deprecated.
since 5.4
|
boolean |
getDisplayCreateSnapshotOption()
Deprecated.
since 5.4
|
String |
getIncRulesResult()
Deprecated.
since 5.4
|
Collection<VersionModel> |
getItemVersioningHistory(DocumentModel document)
Returns the available versioning options for the document parameter and
state.
|
String |
getVersioningOptionInstanceId() |
Map<String,String> |
getVersioningOptionsMap(DocumentModel documentModel)
Deprecated.
since 5.4
|
String |
getVersionLabel(DocumentModel document) |
void |
setCreateSnapshot(boolean createSnapshot)
Deprecated.
since 5.4
|
void |
setVersioningOptionInstanceId(DocumentModel document,
String optionId) |
void |
setVersioningOptionInstanceId(DocumentModel document,
VersioningActions option) |
void |
setVersioningOptionInstanceId(String optionId)
Web action method to set version increment option to the current
documentModel.
|
void |
validateOptionSelection(FacesContext context,
UIComponent component,
Object value)
Versioning increment options - select radio component validator method.
|
@Deprecated String getIncRulesResult()
Collection<VersionModel> getItemVersioningHistory(DocumentModel document)
document - the document for which the versioning options will be
returnedCollection<VersioningActions> getCurrentItemVersioningOptions()
Collection<VersionModel> getCurrentItemVersioningHistory()
@Deprecated Map<String,String> getVersioningOptionsMap(DocumentModel documentModel)
String getVersionLabel(DocumentModel document) throws ClientException
ClientExceptionString getVersioningOptionInstanceId()
String factoryForIncrementationRules()
boolean factoryForRenderVersioningOption()
void setVersioningOptionInstanceId(String optionId) throws ClientException
ClientExceptionvoid setVersioningOptionInstanceId(DocumentModel document, String optionId) throws ClientException
ClientExceptionvoid setVersioningOptionInstanceId(DocumentModel document, VersioningActions option) throws ClientException
ClientExceptionvoid validateOptionSelection(FacesContext context, UIComponent component, Object value)
@Deprecated void setCreateSnapshot(boolean createSnapshot)
@Deprecated boolean getCreateSnapshot() throws ClientException
ClientException@Deprecated boolean getDefaultCreateSnapshot() throws ClientException
ClientException@Deprecated boolean getDisplayCreateSnapshotOption() throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.