@Scope(value=CONVERSATION) @Name(value="bulkSelectActions") @Install(precedence=10) public class BulkSelectActions extends Object implements Serializable
Constructor and Description |
---|
BulkSelectActions() |
Modifier and Type | Method and Description |
---|---|
void |
clearWorkingList(String listName)
Clears the working list of selected documents.
|
void |
deleteSelection() |
void |
exportSelection() |
String |
exportSelection(List<DocumentModel> docsToExport) |
List<Action> |
getActionsForSelection() |
List<Action> |
getActionsForSelectionNoAjax() |
boolean |
getCanEditAssets() |
List<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 |
getIsSelectionNotEmpty() |
void |
toggleDocumentSelection(DocumentModel doc,
String listName) |
void |
togglePageSelection(String providerName,
String listName,
SelectDataModel selectDataModel) |
public void deleteSelection() throws ClientException
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 void toggleDocumentSelection(DocumentModel doc, String listName)
public void togglePageSelection(String providerName, String listName, SelectDataModel selectDataModel)
public boolean getCanEditAssets() throws ClientException
ClientException
public boolean getIsSelectionNotEmpty()
public void exportSelection() throws ClientException
ClientException
public String exportSelection(List<DocumentModel> docsToExport) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.