@Dependent public class TaskCommentsPresenter extends AbstractTaskPresenter
Modifier and Type | Class and Description |
---|---|
static interface |
TaskCommentsPresenter.TaskCommentsView |
Constructor and Description |
---|
TaskCommentsPresenter(TaskCommentsPresenter.TaskCommentsView view,
org.jboss.errai.common.client.api.Caller<TaskService> taskService,
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() |
Predicate<CommentSummary> |
getDeleteCondition() |
com.google.gwt.user.client.ui.IsWidget |
getView() |
void |
init() |
void |
onTaskCompletedEvent(TaskCompletedEvent event) |
void |
onTaskRefreshedEvent(TaskRefreshedEvent event) |
void |
onTaskSelectionEvent(TaskSelectionEvent event) |
void |
refreshComments() |
void |
removeTaskComment(long commentId) |
getContainerId, getServerTemplateId, getTaskId, isSameTaskFromEvent, setSelectedTask
@Inject public TaskCommentsPresenter(TaskCommentsPresenter.TaskCommentsView view, org.jboss.errai.common.client.api.Caller<TaskService> taskService, 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 Predicate<CommentSummary> getDeleteCondition()
public void onTaskRefreshedEvent(@Observes TaskRefreshedEvent event)
public void onTaskCompletedEvent(@Observes TaskCompletedEvent event)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.