@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 CollectionActionsBean()
protected static void addFacesMessage(org.jboss.seam.international.StatusMessage.Severity severity, String message, String arguments)
public void addCurrentDocumentToSelectedCollection()
public void addCurrentSelectionToSelectedCollection()
public void addDocUidsToBeAddedToCurrentCollection()
public void addToSelectedCollection(List<DocumentModel> documentListToBeAdded)
public boolean canAddSelectedDocumentBeCollected()
public boolean canAddToCollection(DocumentModel collection)
public boolean canAddToDocsToCurrentCollection()
public boolean canAddToSelectedCollection()
public void cancel()
public boolean canCurrentDocumentBeCollected()
public boolean canManage(DocumentModel collection)
public boolean canRemoveFromCollection()
public boolean canRemoveFromCollection(DocumentModel collection)
public List<String> getDocUidsToBeAdded()
protected DocumentsListsManager getDocumentsListsManager()
public List<DocumentModel> getMultipleDocumentToBeAdded()
public String getNewDescription()
public String getNewTitle()
public DocumentModel getSelectedCollection()
public String getSelectedCollectionDescription() throws PropertyException
PropertyException
public String getSelectedCollectionUid()
public boolean hasCurrentDocumentVisibleCollection()
public boolean hasVisibleCollection(DocumentModel doc)
public boolean isCreateNewCollection()
public boolean isCurrentDocumentCollection()
public void removeCurrentDocumentFromCollection(javax.faces.event.ActionEvent event)
public void removeCurrentSelectionFromCollection()
public void removeFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved)
public void removeFromMultipleDocumentToBeAdded(javax.faces.event.ActionEvent event)
public void setDocUidsToBeAdded(List<String> docUidsToBeAdded)
public void setNewDescription(String newDescription)
public void setNewTitle(String newTitle)
public void setSelectedCollectionUid(String selectedCollectionUid)
Copyright © 2015 Nuxeo SA. All rights reserved.