@Name(value="jsfDashboardActions") @Scope(value=CONVERSATION) public class JSFDashboardActions extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
protected List<DocumentModel> | 
availableDomains  | 
static String | 
CONTENT_VIEW_OBSERVER_WORKFLOW_EVENT  | 
protected ContentViewActions | 
contentViewActions  | 
protected CoreSession | 
documentManager  | 
protected NavigationContext | 
navigationContext  | 
protected DocumentModel | 
selectedDomain  | 
static String | 
USER_DOMAINS_CONTENT_VIEW  | 
| Constructor and Description | 
|---|
JSFDashboardActions()  | 
| Modifier and Type | Method and Description | 
|---|---|
String[] | 
getCurrentUserPrincipalsToCheck()  | 
DocumentModel | 
getSelectedDomain()  | 
String | 
getSelectedDomainId()  | 
String | 
getSelectedDomainPath()  | 
String | 
getSelectedDomainTemplatesPath()  | 
List<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 NavigationContext navigationContext
@In(create=true,
    required=false)
protected CoreSession documentManager
protected DocumentModel selectedDomain
protected List<DocumentModel> availableDomains
public JSFDashboardActions()
@Factory(value="userDomains",
         scope=EVENT)
public List<DocumentModel> getUserDomains()
public DocumentModel getSelectedDomain()
public String getSelectedDomainId()
public void setSelectedDomainId(String selectedDomainId)
public String getSelectedDomainPath()
public String getSelectedDomainTemplatesPath()
@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()
public String[] getCurrentUserPrincipalsToCheck()
Copyright © 2019 Nuxeo. All rights reserved.