@Name(value="collectionActions") @Scope(value=PAGE) @BypassInterceptors public class CollectionActionsBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
COLLECTION_CURRENT_SELECTION |
static String |
DOCUMENT_ADDED_TO_COLLECTION_EVENT |
static String |
DOCUMENT_REMOVED_FROM_COLLECTION_EVENT |
Constructor and Description |
---|
CollectionActionsBean() |
public static final String COLLECTION_CURRENT_SELECTION
public static final String DOCUMENT_ADDED_TO_COLLECTION_EVENT
public static final String DOCUMENT_REMOVED_FROM_COLLECTION_EVENT
public void addCurrentDocumentToSelectedCollection() throws ClientException
ClientException
public void addCurrentSelectionToSelectedCollection() throws ClientException
ClientException
public void addDocUidsToBeAddedToCurrentCollection() throws ClientException
ClientException
public void addToSelectedCollection(List<DocumentModel> documentListToBeAdded) throws ClientException
ClientException
public boolean canAddSelectedDocumentBeCollected()
public boolean canAddToCollection(DocumentModel collection) throws ClientException
ClientException
public boolean canAddToDocsToCurrentCollection() throws ClientException
ClientException
public boolean canAddToSelectedCollection() throws ClientException
ClientException
public void cancel()
public boolean canCurrentDocumentBeCollected()
public boolean canManage(DocumentModel collection) throws ClientException
ClientException
public boolean canRemoveFromCollection() throws ClientException
ClientException
public boolean canRemoveFromCollection(DocumentModel collection) throws ClientException
ClientException
public List<DocumentModel> getMultipleDocumentToBeAdded()
public String getNewDescription()
public String getNewTitle()
public DocumentModel getSelectedCollection()
public String getSelectedCollectionDescription() throws PropertyException, ClientException
PropertyException
ClientException
public String getSelectedCollectionUid()
public boolean hasCurrentDocumentVisibleCollection() throws ClientException
ClientException
public boolean hasVisibleCollection(DocumentModel doc)
public boolean isCreateNewCollection()
public boolean isCurrentDocumentCollection()
public void removeCurrentDocumentFromCollection(javax.faces.event.ActionEvent event) throws ClientException
ClientException
public void removeCurrentSelectionFromCollection() throws ClientException
ClientException
public void removeFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved) throws ClientException
ClientException
public void removeFromMultipleDocumentToBeAdded(javax.faces.event.ActionEvent event)
public void setNewDescription(String newDescription)
public void setNewTitle(String newTitle)
public void setSelectedCollectionUid(String selectedCollectionUid)
Copyright © 2015 Nuxeo SA. All rights reserved.