@Name(value="taskDashBoardActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class TaskDashBoardActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Principal |
currentUser |
protected Collection<DashBoardItem> |
currentUserTasks |
protected CoreSession |
documentManager |
protected org.jboss.seam.international.LocaleSelector |
localeSelector |
protected TaskService |
taskService |
Constructor and Description |
---|
TaskDashBoardActions() |
Modifier and Type | Method and Description |
---|---|
Collection<DashBoardItem> |
computeDashboardItems() |
void |
invalidateDashboardItems() |
String |
refreshDashboardItems() |
@In(create=true) protected transient TaskService taskService
protected Collection<DashBoardItem> currentUserTasks
@In(required=false) protected transient Principal currentUser
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true) protected transient org.jboss.seam.international.LocaleSelector localeSelector
public TaskDashBoardActions()
public Collection<DashBoardItem> computeDashboardItems()
@Observer(value={"workflowProcessEnded","workflowNewProcessStarted","workflowTaskStart","workflowTaskStop","workflowTaskRejected","workflowUserAssignmentChanged","workflowTaskCompleted","workflowTaskRemoved","workItemsListLoaded","workflowTasksComputed","workflowAbandoned","workflowProcessCanceled","domainSelectionChanged","documentPublicationRejected","documentPublished"}, create=false) @BypassInterceptors public void invalidateDashboardItems()
public String refreshDashboardItems()
Copyright © 2018 Nuxeo. All rights reserved.