@Name(value="jsfDashboardActions") @Scope(value=CONVERSATION) public class JSFDashboardActions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<org.nuxeo.ecm.core.api.DocumentModel> |
availableDomains |
static String |
CONTENT_VIEW_OBSERVER_WORKFLOW_EVENT |
protected ContentViewActions |
contentViewActions |
protected org.nuxeo.ecm.core.api.CoreSession |
documentManager |
protected org.nuxeo.ecm.platform.ui.web.api.NavigationContext |
navigationContext |
protected org.nuxeo.ecm.core.api.DocumentModel |
selectedDomain |
static String |
USER_DOMAINS_CONTENT_VIEW |
| Constructor and Description |
|---|
JSFDashboardActions() |
| Modifier and Type | Method and Description |
|---|---|
org.nuxeo.ecm.core.api.DocumentModel |
getSelectedDomain() |
String |
getSelectedDomainId() |
String |
getSelectedDomainPath() |
String |
getSelectedDomainTemplatesPath() |
List<org.nuxeo.ecm.core.api.DocumentModel> |
getUserDomains() |
boolean |
isMSIE6or7() |
void |
onWorkflowEvent()
Refreshes and resets content views that have declared the event "workflowEvent" as a refresh or reset event, on
every kind of workflow/task event.
|
void |
setSelectedDomainId(String selectedDomainId) |
public static final String CONTENT_VIEW_OBSERVER_WORKFLOW_EVENT
public static final String USER_DOMAINS_CONTENT_VIEW
@In(create=true) protected ContentViewActions contentViewActions
@In(create=true) protected org.nuxeo.ecm.platform.ui.web.api.NavigationContext navigationContext
@In(create=true,
required=false)
protected org.nuxeo.ecm.core.api.CoreSession documentManager
protected org.nuxeo.ecm.core.api.DocumentModel selectedDomain
protected List<org.nuxeo.ecm.core.api.DocumentModel> availableDomains
@Factory(value="userDomains",
scope=EVENT)
public List<org.nuxeo.ecm.core.api.DocumentModel> getUserDomains()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic org.nuxeo.ecm.core.api.DocumentModel getSelectedDomain()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String getSelectedDomainId() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic void setSelectedDomainId(String selectedDomainId) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String getSelectedDomainPath() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String getSelectedDomainTemplatesPath() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException@Observer(value={"workflowProcessEnded","workflowNewProcessStarted","workflowTaskStop","workflowTaskRejected","workflowUserAssignmentChanged","workflowTaskCompleted","workflowTaskRemoved","workItemsListLoaded","workflowTasksComputed","workflowAbandoned","workflowProcessCanceled","documentPublicationRejected","documentPublicationApproved","documentPublished"},
create=false)
public void onWorkflowEvent()
@Factory(value="isMSIE6or7",
scope=SESSION)
public boolean isMSIE6or7()
Copyright © 2019 Nuxeo SA. All rights reserved.