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