@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
DashboardActions
computeDashboardItems
in interface DashboardActions
ClientException
factory
@Factory(value="currentUserProcesses", scope=EVENT) public Collection<DocumentProcessItem> computeDocumentProcessItems() throws ClientException
DashboardActions
computeDocumentProcessItems
in interface DashboardActions
ClientException
factory
public void invalidateDocumentProcessItems()
DashboardActions
invalidateDocumentProcessItems
in interface DashboardActions
Observer
public void invalidateDashboardItems()
DashboardActions
invalidateDashboardItems
in interface DashboardActions
Observer
@Destroy public void destroy()
destroy
in interface DashboardActions
public String viewDashboard()
DashboardActions
viewDashboard
in interface DashboardActions
@Observer(value="domainSelectionChanged", create=false) public void invalidateDomainBoundInfo() throws ClientException
invalidateDomainBoundInfo
in interface DashboardActions
ClientException
public void invalidateDomainResultProviders() throws ClientException
invalidateDomainResultProviders
in interface DashboardActions
ClientException
public 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
public PagedDocumentsProvider getResultsProvider(String name) throws ClientException, ResultsProviderFarmUserException
ResultsProviderFarm
getResultsProvider
in interface ResultsProviderFarm
name
- the name of the ResultsProvider instance to createClientException
ResultsProviderFarmUserException
public String navigateToDocumentTab(DocumentModel dm) throws ClientException
DashboardActions
navigateToDocumentTab
in interface DashboardActions
dm
- document modelClientException
public DocumentModelList getLastModifiedDocuments() throws ClientException
DashboardActions
getLastModifiedDocuments
in interface DashboardActions
ClientException
public DocumentModelList getUserDocuments()
DashboardActions
getUserDocuments
in interface DashboardActions
public DocumentModelList getUserWorkspaces()
DashboardActions
getUserWorkspaces
in interface DashboardActions
public String refreshDashboardItems()
refreshDashboardItems
in interface DashboardActions
public String refreshDocumentProcessItems()
refreshDocumentProcessItems
in interface DashboardActions
public String doSearch()
doSearch
in interface DashboardActions
public SortInfo getSortInfo()
getSortInfo
in interface DashboardActions
public DocumentModel getSelectedDomain() throws ClientException
getSelectedDomain
in interface DashboardActions
ClientException
@Factory(value="availableDomains", scope=EVENT) public List<DocumentModel> getAvailableDomains() throws ClientException
getAvailableDomains
in interface DashboardActions
ClientException
@Observer(value={"documentChanged","documentSecurityChanged","documentChildrenChanged"}, create=false) public void invalidateAvailableDomains() throws ClientException
invalidateAvailableDomains
in interface DashboardActions
ClientException
public String getSelectedDomainId() throws ClientException
getSelectedDomainId
in interface DashboardActions
ClientException
public void setSelectedDomainId(String selectedDomainId) throws ClientException
setSelectedDomainId
in interface DashboardActions
ClientException
public String submitSelectedDomainChange() throws ClientException
submitSelectedDomainChange
in interface DashboardActions
ClientException
Copyright © 2012 Nuxeo SA. All Rights Reserved.