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()
String purgeSelection(String listName)
listName
.String purgeSelection(List<DocumentModel> docsToPurge)
String deleteSelection()
String deleteSelectionSections()
String deleteSelection(List<DocumentModel> docsToDelete)
String undeleteSelection()
String undeleteSelection(List<DocumentModel> docsToUndelete)
boolean getCanDeleteItem(DocumentModel container)
boolean getCanDelete()
boolean getCanDelete(String listName)
boolean getCanDeleteSections()
boolean getCanPurge()
boolean isTrashManagementEnabled()
boolean checkDeletePermOnParents(List<DocumentModel> docsToDelete)
@Destroy @PermitAll void destroy()
void create()
void restoreCurrentDocument()
boolean getCanRestoreCurrentDoc()
Copyright © 2018 Nuxeo. All rights reserved.