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.TaskCommentService
public void deleteComment(long taskId, long commentId)
deleteComment
in interface org.kie.internal.task.api.TaskCommentService
public List<org.kie.api.task.model.Comment> getAllCommentsByTaskId(long taskId)
getAllCommentsByTaskId
in interface org.kie.internal.task.api.TaskCommentService
public org.kie.api.task.model.Comment getCommentById(long commentId)
getCommentById
in interface org.kie.internal.task.api.TaskCommentService
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.