|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.dam.webapp.BulkSelectActions
@Scope(value=CONVERSATION) @Name(value="bulkSelectActions") @Install(precedence=10) public class BulkSelectActions
Constructor Summary | |
---|---|
BulkSelectActions()
|
Method Summary | |
---|---|
boolean |
checkDeletePermOnParents(List<org.nuxeo.ecm.core.api.DocumentModel> docsToDelete)
|
void |
clearWorkingList(String listName)
Clears the working list of selected documents. |
void |
deleteSelection()
|
void |
deleteSelection(List<org.nuxeo.ecm.core.api.DocumentModel> docsToDelete)
|
void |
exportSelection()
|
String |
exportSelection(List<org.nuxeo.ecm.core.api.DocumentModel> docsToExport)
|
List<org.nuxeo.ecm.platform.actions.Action> |
getActionsForSelection()
|
List<org.nuxeo.ecm.platform.actions.Action> |
getActionsForSelectionNoAjax()
|
boolean |
getCanDelete()
|
List<org.nuxeo.ecm.platform.actions.Action> |
getHrefActionsForSelection()
|
boolean |
getIsCurrentPageInWorkingList(String providerName,
String listName)
Tests if all of the documents of the current page are in the working list of selected documents. |
boolean |
getIsCurrentSelectionInWorkingList(String docId,
String listName)
Tests if a document is in the working list of selected documents. |
boolean |
getIsCurrentWorkingListEmpty(String listName)
Tests whether the current working list of selected documents is empty. |
boolean |
getIsSelectionNotEmpty()
|
void |
toggleDocumentSelection(org.nuxeo.ecm.core.api.DocumentModel doc,
String listName)
|
void |
togglePageSelection(String providerName,
String listName,
org.nuxeo.ecm.platform.ui.web.model.SelectDataModel selectDataModel)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BulkSelectActions()
Method Detail |
---|
public void deleteSelection() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void deleteSelection(List<org.nuxeo.ecm.core.api.DocumentModel> docsToDelete) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public boolean getIsCurrentSelectionInWorkingList(String docId, String listName)
docId
- The DocumentRef of the documentlistName
- The name of the working list of selected documents. If
null, the default list will be used.
public boolean getIsCurrentPageInWorkingList(String providerName, String listName)
providerName
- The provider namelistName
- The name of the working list of selected documents. If
null, the default list will be used.
public void clearWorkingList(String listName)
listName
- The name of the working list of selected documents. If
null, the default list will be used.public boolean getIsCurrentWorkingListEmpty(String listName)
listName
- The name of the working list of selected documents. If
null, the default list will be used.
public void toggleDocumentSelection(org.nuxeo.ecm.core.api.DocumentModel doc, String listName)
public void togglePageSelection(String providerName, String listName, org.nuxeo.ecm.platform.ui.web.model.SelectDataModel selectDataModel)
public boolean getCanDelete()
public boolean checkDeletePermOnParents(List<org.nuxeo.ecm.core.api.DocumentModel> docsToDelete)
public boolean getIsSelectionNotEmpty()
public void exportSelection() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String exportSelection(List<org.nuxeo.ecm.core.api.DocumentModel> docsToExport) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public List<org.nuxeo.ecm.platform.actions.Action> getActionsForSelection()
public List<org.nuxeo.ecm.platform.actions.Action> getActionsForSelectionNoAjax()
public List<org.nuxeo.ecm.platform.actions.Action> getHrefActionsForSelection()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |