@Dependent public class TaskCommentsPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskCommentsPresenter.TaskCommentsView |
| Constructor and Description |
|---|
TaskCommentsPresenter(TaskCommentsPresenter.TaskCommentsView view,
org.jboss.errai.common.client.api.Caller<TaskCommentsService> taskCommentsServices,
org.jboss.errai.security.shared.api.identity.User identity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataDisplay(com.google.gwt.view.client.HasData<CommentSummary> display) |
void |
addTaskComment(String text) |
com.google.gwt.view.client.ListDataProvider<CommentSummary> |
getDataProvider() |
com.google.gwt.user.client.ui.IsWidget |
getView() |
void |
init() |
void |
onTaskRefreshedEvent(TaskRefreshedEvent event) |
void |
onTaskSelectionEvent(TaskSelectionEvent event) |
void |
refreshComments() |
void |
removeTaskComment(long commentId) |
@Inject public TaskCommentsPresenter(TaskCommentsPresenter.TaskCommentsView view, org.jboss.errai.common.client.api.Caller<TaskCommentsService> taskCommentsServices, org.jboss.errai.security.shared.api.identity.User identity)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.IsWidget getView()
public com.google.gwt.view.client.ListDataProvider<CommentSummary> getDataProvider()
public void refreshComments()
public void addTaskComment(String text)
public void removeTaskComment(long commentId)
public void addDataDisplay(com.google.gwt.view.client.HasData<CommentSummary> display)
public void onTaskSelectionEvent(@Observes
TaskSelectionEvent event)
public void onTaskRefreshedEvent(@Observes
TaskRefreshedEvent event)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.