public interface ClassificationActions extends ResultsProviderFarm, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
CLASSIFICATION_ROOTS_PROVIDER_NAME |
static String |
CURRENT_DOCUMENT_CLASSIFICATIONS_PROVIDER |
static String |
CURRENT_DOCUMENT_CLASSIFICATIONS_SELECTION |
static String |
CURRENT_SELECTION_FOR_CLASSIFICATION |
static String |
CURRENT_SELECTION_FOR_CLASSIFICATION_PAGE |
static String |
CURRENT_SELECTION_FOR_CLASSIFICATION_PROVIDER |
static String |
EVENT_CLASSIFICATION_TREE_CHANGED |
static String |
TREE_PLUGIN_NAME |
static final String EVENT_CLASSIFICATION_TREE_CHANGED
static final String CLASSIFICATION_ROOTS_PROVIDER_NAME
static final String CURRENT_DOCUMENT_CLASSIFICATIONS_PROVIDER
static final String CURRENT_DOCUMENT_CLASSIFICATIONS_SELECTION
static final String CURRENT_SELECTION_FOR_CLASSIFICATION_PROVIDER
static final String CURRENT_SELECTION_FOR_CLASSIFICATION
static final String CURRENT_SELECTION_FOR_CLASSIFICATION_PAGE
static final String TREE_PLUGIN_NAME
boolean getCanClassifyFromCurrentSelection() throws ClientException
ClientException
Collection<DocumentModel> getTargetDocuments() throws ClientException
May take into account only current email, or all emails in current envelope.
ClientException
Collection<DocumentModel> getMassTargetDocuments() throws ClientException
ClientException
String classify(ClassificationTreeNode node) throws ClientException
ClientException
String massClassify(ClassificationTreeNode node) throws ClientException
ClientException
boolean classify(Collection<DocumentModel> targetDocs, DocumentModel classificationFolder) throws ClientException
ClientException
String cancelClassification() throws ClientException
ClientException
String getCurrentClassificationRootId() throws ClientException
ClientException
void setCurrentClassificationRootId(String newRootId) throws ClientException
ClientException
String navigateToCurrentClassificationRoot() throws ClientException
ClientException
DocumentModel getCurrentClassificationRoot() throws ClientException
ClientException
String getCurrentEditableClassificationRootId() throws ClientException
ClientException
void setCurrentEditableClassificationRootId(String newRootId) throws ClientException
ClientException
DocumentModel getCurrentEditableClassificationRoot() throws ClientException
ClientException
DocumentTreeNode getCurrentClassificationTree() throws ClientException
ClientException
DocumentTreeNode getCurrentEditableClassificationTree() throws ClientException
ClientException
DocumentModelList getClassificationRoots() throws ClientException
ClientException
DocumentModelList getEditableClassificationRoots() throws ClientException
ClientException
void editableClassificationRootSelected(ValueChangeEvent event) throws ClientException
ClientException
void resetClassificationData()
void resetCurrentDocumentClassifications()
PagedDocumentsProvider getResultsProvider(String name, SortInfo sortInfo) throws ClientException, ResultsProviderFarmUserException
getResultsProvider
in interface ResultsProviderFarm
name
- the name of the ResultsProvider instance to createsortInfo
- an object containing the sort detailsClientException
ResultsProviderFarmUserException
PagedDocumentsProvider getResultsProvider(String name) throws ClientException, ResultsProviderFarmUserException
ResultsProviderFarm
getResultsProvider
in interface ResultsProviderFarm
name
- the name of the ResultsProvider instance to createClientException
ResultsProviderFarmUserException
DocumentModelList getCurrentDocumentClassifications() throws ClientException
ClientException
SelectDataModel getCurrentDocumentClassificationsSelection() throws ClientException
ClientException
String showCurrentSelectionClassificationForm(String currentViewId) throws ClientException
currentViewId
- the current view id, so that redirection can be done
correctly on cancel.ClientException
String cancelCurrentSelectionClassificationForm() throws ClientException
ClientException
SelectDataModel getCurrentSelectionEmailsSelection() throws ClientException
ClientException
void unclassify() throws ClientException
ClientException
boolean unclassify(Collection<String> targetDocIds, DocumentModel classificationFolder) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.