org.jbpm.console.ng.ht.client.editors.taskslist
Class TasksListPresenter
java.lang.Object
org.jbpm.console.ng.ht.client.editors.taskslist.TasksListPresenter
- All Implemented Interfaces:
- GenericDataProvider<TaskSummary>
@Dependent
public class TasksListPresenter
- extends Object
- implements GenericDataProvider<TaskSummary>
|
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,
boolean clear)
|
void |
formClosed(org.uberfire.client.workbench.events.BeforeClosePlaceEvent closed)
|
List<TaskSummary> |
getAllServerSideData()
|
List<TaskSummary> |
getAllTaskSummaries()
|
com.google.gwt.view.client.ListDataProvider<TaskSummary> |
getClientSideDataProvider()
|
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(SearchEvent searchEvent)
|
void |
onStartup(org.uberfire.mvp.PlaceRequest place)
|
void |
refresh(int start,
int offset,
boolean clear)
|
void |
refreshPersonalTasks(Date date,
TaskUtils.TaskView taskView,
int offset,
int count,
boolean clear)
|
void |
refreshTasks(Date date,
TaskUtils.TaskView taskView,
TaskUtils.TaskType taskType,
int offset,
int count,
boolean clear)
Refresh tasks based on specified date, view (day/week/month) and task
type. |
void |
refreshTasksByType(Date date,
TaskUtils.TaskView taskView,
TaskUtils.TaskType type,
int offset,
int count,
boolean clear)
|
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 |
KEY_PROVIDER
public static final com.google.gwt.view.client.ProvidesKey<TaskSummary> KEY_PROVIDER
TasksListPresenter
public TasksListPresenter()
getAllServerSideData
public List<TaskSummary> getAllServerSideData()
- Specified by:
getAllServerSideData in interface GenericDataProvider<TaskSummary>
getClientSideDataProvider
public com.google.gwt.view.client.ListDataProvider<TaskSummary> getClientSideDataProvider()
- Specified by:
getClientSideDataProvider in interface GenericDataProvider<TaskSummary>
refresh
public void refresh(int start,
int offset,
boolean clear)
- Specified by:
refresh in interface GenericDataProvider<TaskSummary>
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,
boolean clear)
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,
int offset,
int count,
boolean clear)
- 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,
int offset,
int count,
boolean clear)
refreshPersonalTasks
public void refreshPersonalTasks(Date date,
TaskUtils.TaskView taskView,
int offset,
int count,
boolean clear)
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.client.workbench.events.BeforeClosePlaceEvent closed)
onSearchEvent
public void onSearchEvent(@Observes
SearchEvent searchEvent)
editPanelEvent
public void editPanelEvent(@Observes
EditPanelEvent editPanelEvent)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.