@Name(value="dashboardActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class DashBoardActionsBean extends Object implements DashboardActions
Those actions are related to the current authenticated principal.
| Constructor and Description |
|---|
DashBoardActionsBean() |
@Factory(value="currentUserTasks", scope=EVENT) public Collection<DashBoardItem> computeDashboardItems() throws ClientException
DashboardActionscomputeDashboardItems in interface DashboardActionsClientExceptionfactory@Factory(value="currentUserProcesses", scope=EVENT) public Collection<DocumentProcessItem> computeDocumentProcessItems() throws ClientException
DashboardActionscomputeDocumentProcessItems in interface DashboardActionsClientExceptionfactorypublic void invalidateDocumentProcessItems()
DashboardActionsinvalidateDocumentProcessItems in interface DashboardActionsObserverpublic void invalidateDashboardItems()
DashboardActionsinvalidateDashboardItems in interface DashboardActionsObserver@Destroy public void destroy()
destroy in interface DashboardActionspublic String viewDashboard()
DashboardActionsviewDashboard in interface DashboardActions@Observer(value="domainSelectionChanged", create=false) public void invalidateDomainBoundInfo() throws ClientException
invalidateDomainBoundInfo in interface DashboardActionsClientExceptionpublic void invalidateDomainResultProviders()
throws ClientException
invalidateDomainResultProviders in interface DashboardActionsClientExceptionpublic PagedDocumentsProvider getResultsProvider(String name, SortInfo sortInfo) throws ClientException, ResultsProviderFarmUserException
getResultsProvider in interface ResultsProviderFarmname - the name of the ResultsProvider instance to createsortInfo - an object containing the sort detailsClientExceptionResultsProviderFarmUserExceptionpublic PagedDocumentsProvider getResultsProvider(String name) throws ClientException, ResultsProviderFarmUserException
ResultsProviderFarmgetResultsProvider in interface ResultsProviderFarmname - the name of the ResultsProvider instance to createClientExceptionResultsProviderFarmUserExceptionpublic String navigateToDocumentTab(DocumentModel dm) throws ClientException
DashboardActionsnavigateToDocumentTab in interface DashboardActionsdm - document modelClientExceptionpublic DocumentModelList getLastModifiedDocuments() throws ClientException
DashboardActionsgetLastModifiedDocuments in interface DashboardActionsClientExceptionpublic DocumentModelList getUserDocuments()
DashboardActionsgetUserDocuments in interface DashboardActionspublic DocumentModelList getUserWorkspaces()
DashboardActionsgetUserWorkspaces in interface DashboardActionspublic String refreshDashboardItems()
refreshDashboardItems in interface DashboardActionspublic String refreshDocumentProcessItems()
refreshDocumentProcessItems in interface DashboardActionspublic String doSearch()
doSearch in interface DashboardActionspublic SortInfo getSortInfo()
getSortInfo in interface DashboardActionspublic DocumentModel getSelectedDomain() throws ClientException
getSelectedDomain in interface DashboardActionsClientException@Factory(value="availableDomains", scope=EVENT) public List<DocumentModel> getAvailableDomains() throws ClientException
getAvailableDomains in interface DashboardActionsClientException@Observer(value={"documentChanged","documentSecurityChanged","documentChildrenChanged"}, create=false) public void invalidateAvailableDomains() throws ClientException
invalidateAvailableDomains in interface DashboardActionsClientExceptionpublic String getSelectedDomainId() throws ClientException
getSelectedDomainId in interface DashboardActionsClientExceptionpublic void setSelectedDomainId(String selectedDomainId) throws ClientException
setSelectedDomainId in interface DashboardActionsClientExceptionpublic String submitSelectedDomainChange() throws ClientException
submitSelectedDomainChange in interface DashboardActionsClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.