@Dependent public class TaskDetailsPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskDetailsPresenter.TaskDetailsView |
| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.event.Event<TaskRefreshedEvent> |
taskRefreshed |
| Constructor and Description |
|---|
TaskDetailsPresenter(TaskDetailsPresenter.TaskDetailsView view,
org.jboss.errai.common.client.api.Caller<TaskService> taskService,
javax.enterprise.event.Event<TaskRefreshedEvent> taskRefreshed) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.IsWidget |
getView() |
void |
init() |
void |
onTaskSelectionEvent(TaskSelectionEvent event) |
void |
setReadOnlyTaskDetail() |
protected void |
setTaskDetails(String status,
String description,
String actualOwner,
Date expirationTime,
String priority) |
void |
updateTask(String taskDescription,
Date dueDate,
int priority) |
@Inject protected javax.enterprise.event.Event<TaskRefreshedEvent> taskRefreshed
@Inject public TaskDetailsPresenter(TaskDetailsPresenter.TaskDetailsView view, org.jboss.errai.common.client.api.Caller<TaskService> taskService, javax.enterprise.event.Event<TaskRefreshedEvent> taskRefreshed)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.IsWidget getView()
protected void setTaskDetails(String status, String description, String actualOwner, Date expirationTime, String priority)
public void setReadOnlyTaskDetail()
public void onTaskSelectionEvent(@Observes
TaskSelectionEvent event)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.