@Name(value="jsfDashboardActions") @Scope(value=CONVERSATION) public class JSFDashboardActions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_VIEW_OBSERVER_WORKFLOW_EVENT |
static String |
USER_DOMAINS_CONTENT_VIEW |
| Constructor and Description |
|---|
JSFDashboardActions() |
| Modifier and Type | Method and Description |
|---|---|
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
@Factory(value="userDomains",
scope=EVENT)
public List<DocumentModel> getUserDomains()
throws ClientException
ClientExceptionpublic DocumentModel getSelectedDomain() throws ClientException
ClientExceptionpublic String getSelectedDomainId() throws ClientException
ClientExceptionpublic void setSelectedDomainId(String selectedDomainId) throws ClientException
ClientExceptionpublic String getSelectedDomainPath() throws ClientException
ClientExceptionpublic String getSelectedDomainTemplatesPath() throws ClientException
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 © 2014 Nuxeo SA. All rights reserved.