@ApplicationScoped public class TaskCommentsServiceImpl extends Object implements TaskCommentsService
Constructor and Description |
---|
TaskCommentsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
long |
addComment(long taskId,
String text,
String addedBy,
Date addedOn) |
void |
deleteComment(long taskId,
long commentId) |
List<CommentSummary> |
getAllCommentsByTaskId(long taskId) |
CommentSummary |
getCommentById(long taskId,
long commentId) |
public long addComment(long taskId, String text, String addedBy, Date addedOn)
addComment
in interface TaskCommentsService
public void deleteComment(long taskId, long commentId)
deleteComment
in interface TaskCommentsService
public List<CommentSummary> getAllCommentsByTaskId(long taskId)
getAllCommentsByTaskId
in interface TaskCommentsService
public CommentSummary getCommentById(long taskId, long commentId)
getCommentById
in interface TaskCommentsService
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.