public class TaskCommentServiceImpl extends Object implements org.kie.internal.task.api.TaskCommentService
| Constructor and Description |
|---|
TaskCommentServiceImpl() |
TaskCommentServiceImpl(org.kie.internal.task.api.TaskPersistenceContext persistenceContext) |
| Modifier and Type | Method and Description |
|---|---|
long |
addComment(long taskId,
org.kie.api.task.model.Comment comment) |
void |
deleteComment(long taskId,
long commentId) |
List<org.kie.api.task.model.Comment> |
getAllCommentsByTaskId(long taskId) |
org.kie.api.task.model.Comment |
getCommentById(long commentId) |
void |
setPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext) |
public TaskCommentServiceImpl()
public TaskCommentServiceImpl(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)
public void setPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)
public long addComment(long taskId,
org.kie.api.task.model.Comment comment)
addComment in interface org.kie.internal.task.api.TaskCommentServicepublic void deleteComment(long taskId,
long commentId)
deleteComment in interface org.kie.internal.task.api.TaskCommentServicepublic List<org.kie.api.task.model.Comment> getAllCommentsByTaskId(long taskId)
getAllCommentsByTaskId in interface org.kie.internal.task.api.TaskCommentServicepublic org.kie.api.task.model.Comment getCommentById(long commentId)
getCommentById in interface org.kie.internal.task.api.TaskCommentServiceCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.