@Override public CommentSummary getCommentById(long taskId, long commentId) { return CommentSummaryHelper.adapt(taskService.getCommentById(taskId, commentId)); }
@Override public void deleteComment(long taskId, long commentId) { taskService.deleteComment(taskId, commentId); }
@Override public List<CommentSummary> getAllCommentsByTaskId(long taskId) { return CommentSummaryHelper.adaptCollection(taskService.getCommentsByTaskId(taskId)); }
@Override public long addComment(long taskId, String text, String addedBy, Date addedOn) { return taskService.addComment(taskId, text, addedBy, addedOn); }