@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
ClientException
public DocumentModel getSelectedDomain() throws ClientException
ClientException
public String getSelectedDomainId() throws ClientException
ClientException
public void setSelectedDomainId(String selectedDomainId) throws ClientException
ClientException
public String getSelectedDomainPath() throws ClientException
ClientException
public 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()
Copyright © 2013 Nuxeo SA. All Rights Reserved.