public interface CommentService
| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_COMMENT_CREATION |
| Modifier and Type | Method and Description |
|---|---|
CommentDto |
addComment(TaskDto task,
long parentCommentId,
String username,
String comment) |
CommentDto |
addComment(TaskDto task,
String username,
String commentText) |
int |
countComments(long taskId) |
CommentDto |
getComment(long commentId) |
List<CommentDto> |
getComments(long taskId,
int offset,
int limit) |
List<CommentDto> |
getCommentsWithSubs(long taskId,
int offset,
int limit) |
List<CommentDto> |
loadSubComments(List<CommentDto> listComments)
Fetch sub comments of designed comments
|
void |
removeComment(long commentId) |
static final String TASK_COMMENT_CREATION
CommentDto getComment(long commentId)
CommentDto addComment(TaskDto task, String username, String commentText) throws EntityNotFoundException
EntityNotFoundExceptionCommentDto addComment(TaskDto task, long parentCommentId, String username, String comment) throws EntityNotFoundException
EntityNotFoundExceptionvoid removeComment(long commentId)
throws EntityNotFoundException
EntityNotFoundExceptionList<CommentDto> getComments(long taskId, int offset, int limit)
List<CommentDto> getCommentsWithSubs(long taskId, int offset, int limit)
int countComments(long taskId)
List<CommentDto> loadSubComments(List<CommentDto> listComments)
listComments - the given list of comments.Copyright © 2003–2021 eXo Platform SAS. All rights reserved.