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".
|
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.
|
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
boolean isTrashManagementEnabled()
boolean checkDeletePermOnParents(List<DocumentModel> docsToDelete)
@Destroy void destroy()
void create()
void restoreCurrentDocument() throws ClientException
ClientException
boolean getCanRestoreCurrentDoc() throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.