@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 TaskCommentsServicepublic void deleteComment(long taskId,
long commentId)
deleteComment in interface TaskCommentsServicepublic List<CommentSummary> getAllCommentsByTaskId(long taskId)
getAllCommentsByTaskId in interface TaskCommentsServicepublic CommentSummary getCommentById(long taskId, long commentId)
getCommentById in interface TaskCommentsServiceCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.