jBPM Console NG - Human Tasks Client 6.0.2-SNAPSHOT

org.jbpm.console.ng.ht.client.editors.taskslist
Class TasksListPresenter

java.lang.Object
  extended by org.jbpm.console.ng.ht.client.editors.taskslist.TasksListPresenter

@Dependent
public class TasksListPresenter
extends Object


Nested Class Summary
static interface TasksListPresenter.TaskListView
           
 
Field Summary
static com.google.gwt.view.client.ProvidesKey<TaskSummary> KEY_PROVIDER
           
 
Constructor Summary
TasksListPresenter()
           
 
Method Summary
 void addDataDisplay(com.google.gwt.view.client.HasData<TaskSummary> display)
           
 void changeBgTaskCalendar(TaskCalendarEvent taskCalendarEvent)
           
 void claimTasks(List<Long> selectedTasks, String userId)
           
 void closeEditPanel()
           
 void completeTasks(List<Long> selectedTasks, String userId)
           
 void editPanelEvent(EditPanelEvent editPanelEvent)
           
 void filterTasks(String text)
           
 void formClosed(org.uberfire.workbench.events.BeforeClosePlaceEvent closed)
           
 List<TaskSummary> getAllTaskSummaries()
           
 Date getCurrentDate()
           
 String getCurrentFilter()
           
 TaskUtils.TaskType getCurrentTaskType()
           
 TaskUtils.TaskView getCurrentView()
           
 com.google.gwt.view.client.ListDataProvider<TaskSummary> getDataProvider()
           
 org.uberfire.workbench.model.menu.Menus getMenus()
           
 String getTitle()
           
 org.uberfire.client.mvp.UberView<TasksListPresenter> getView()
           
 void onFocus()
           
 void onOpen()
           
 void onSearchEvent(TaskSearchEvent searchEvent)
           
 void onStartup(org.uberfire.mvp.PlaceRequest place)
           
 void refreshPersonalTasks(Date date, TaskUtils.TaskView taskView)
           
 void refreshTasks(Date date, TaskUtils.TaskView taskView, TaskUtils.TaskType taskType)
          Refresh tasks based on specified date, view (day/week/month) and task type.
 void refreshTasksByType(Date date, TaskUtils.TaskView taskView, TaskUtils.TaskType type)
           
 void releaseTasks(List<Long> selectedTasks, String userId)
           
 void startTasks(List<Long> selectedTasks, String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_PROVIDER

public static final com.google.gwt.view.client.ProvidesKey<TaskSummary> KEY_PROVIDER
Constructor Detail

TasksListPresenter

public TasksListPresenter()
Method Detail

getTitle

public String getTitle()

getView

public org.uberfire.client.mvp.UberView<TasksListPresenter> getView()

getMenus

public org.uberfire.workbench.model.menu.Menus getMenus()

onFocus

public void onFocus()

onStartup

public void onStartup(org.uberfire.mvp.PlaceRequest place)

onOpen

public void onOpen()

getAllTaskSummaries

public List<TaskSummary> getAllTaskSummaries()

filterTasks

public void filterTasks(String text)

startTasks

public void startTasks(List<Long> selectedTasks,
                       String userId)

releaseTasks

public void releaseTasks(List<Long> selectedTasks,
                         String userId)

completeTasks

public void completeTasks(List<Long> selectedTasks,
                          String userId)

claimTasks

public void claimTasks(List<Long> selectedTasks,
                       String userId)

refreshTasks

public void refreshTasks(Date date,
                         TaskUtils.TaskView taskView,
                         TaskUtils.TaskType taskType)
Refresh tasks based on specified date, view (day/week/month) and task type.


refreshTasksByType

public void refreshTasksByType(Date date,
                               TaskUtils.TaskView taskView,
                               TaskUtils.TaskType type)

refreshPersonalTasks

public void refreshPersonalTasks(Date date,
                                 TaskUtils.TaskView taskView)

addDataDisplay

public void addDataDisplay(com.google.gwt.view.client.HasData<TaskSummary> display)

getDataProvider

public com.google.gwt.view.client.ListDataProvider<TaskSummary> getDataProvider()

getCurrentDate

public Date getCurrentDate()

getCurrentView

public TaskUtils.TaskView getCurrentView()

getCurrentTaskType

public TaskUtils.TaskType getCurrentTaskType()

getCurrentFilter

public String getCurrentFilter()

closeEditPanel

public void closeEditPanel()

changeBgTaskCalendar

public void changeBgTaskCalendar(@Observes
                                 TaskCalendarEvent taskCalendarEvent)

formClosed

public void formClosed(@Observes
                       org.uberfire.workbench.events.BeforeClosePlaceEvent closed)

onSearchEvent

public void onSearchEvent(@Observes
                          TaskSearchEvent searchEvent)

editPanelEvent

public void editPanelEvent(@Observes
                           EditPanelEvent editPanelEvent)

jBPM Console NG - Human Tasks Client 6.0.2-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.