public interface DeleteActions
Modifier and Type | Method and Description |
---|---|
boolean |
checkDeletePermOnParents(List<DocumentModel> docsToDelete) |
void |
create() |
String |
deleteSelection()
Moves to trash (delete state) the selected documents.
|
String |
deleteSelection(List<DocumentModel> docsToDelete)
Moves to trash (delete state) the documents.
|
String |
deleteSelectionSections()
Moves to trash (delete state) the selected sections.
|
void |
destroy() |
boolean |
getCanDelete() |
boolean |
getCanDelete(String listName) |
boolean |
getCanDeleteItem(DocumentModel container) |
boolean |
getCanDeleteSections() |
boolean |
getCanPurge() |
boolean |
getCanRestoreCurrentDoc()
Checks if the document is "deleted".
|
DocumentModelList |
getCurrentDocumentDeletedChildrenPage() |
SelectDataModel |
getDeletedChildrenSelectModel() |
Boolean |
getSearchDeletedDocuments() |
boolean |
isTrashManagementEnabled() |
String |
purgeSelection()
Definitively deletes selected documents.
|
String |
purgeSelection(List<DocumentModel> docsToPurge)
Definitively deletes param documents.
|
String |
purgeSelection(String listName)
Definitively deletes selected documents of the given
listName . |
void |
restoreCurrentDocument()
Undeletes the current document and its children
and his deleted parents.
|
void |
setSearchDeletedDocuments(Boolean searchDeletedDocuments) |
String |
undeleteSelection()
Undeletes the selected documents from trash (recycle bin).
|
String |
undeleteSelection(List<DocumentModel> docsToUndelete)
Undeletes the args docs from trash (recycle bin).
|
String purgeSelection() throws ClientException
ClientException
String purgeSelection(String listName) throws ClientException
listName
.ClientException
String purgeSelection(List<DocumentModel> docsToPurge) throws ClientException
ClientException
String deleteSelection() throws ClientException
ClientException
String deleteSelectionSections() throws ClientException
ClientException
String deleteSelection(List<DocumentModel> docsToDelete) throws ClientException
ClientException
String undeleteSelection() throws ClientException
ClientException
String undeleteSelection(List<DocumentModel> docsToUndelete) throws ClientException
ClientException
boolean getCanDeleteItem(DocumentModel container) throws ClientException
ClientException
boolean getCanDelete()
boolean getCanDelete(String listName)
boolean getCanDeleteSections()
boolean getCanPurge() throws ClientException
ClientException
SelectDataModel getDeletedChildrenSelectModel() throws ClientException
ClientException
DocumentModelList getCurrentDocumentDeletedChildrenPage() throws ClientException
ClientException
boolean isTrashManagementEnabled()
boolean checkDeletePermOnParents(List<DocumentModel> docsToDelete)
@Destroy void destroy()
void create()
Boolean getSearchDeletedDocuments()
void setSearchDeletedDocuments(Boolean searchDeletedDocuments) throws ClientException
ClientException
void restoreCurrentDocument() throws ClientException
ClientException
boolean getCanRestoreCurrentDoc() throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.