|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentVersioning
Web action listener interface for versioning.
Method Summary | |
---|---|
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. |
Method Detail |
---|
@Deprecated String getIncRulesResult()
Collection<VersionModel> getItemVersioningHistory(DocumentModel document)
document
- the document for which the versioning options will be
returned
Collection<VersioningActions> getCurrentItemVersioningOptions()
Collection<VersionModel> getCurrentItemVersioningHistory()
@Deprecated Map<String,String> getVersioningOptionsMap(DocumentModel documentModel)
Map<String,String> getAvailableVersioningOptionsMap()
String getVersionLabel(DocumentModel document) throws ClientException
ClientException
String getVersioningOptionInstanceId()
String factoryForIncrementationRules()
boolean factoryForRenderVersioningOption()
void setVersioningOptionInstanceId(String optionId) throws ClientException
ClientException
void setVersioningOptionInstanceId(DocumentModel document, String optionId) throws ClientException
ClientException
void setVersioningOptionInstanceId(DocumentModel document, VersioningActions option) throws ClientException
ClientException
void 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
ClientException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |