public interface CommentService
Modifier and Type | Method and Description |
---|---|
Comment |
addComment(String content,
com.atlassian.user.User user,
BambooIdProvider entity) |
void |
deleteComment(Comment comment) |
void |
deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
Map<Long,List<Comment>> |
getAllCommentsForPlanResult(ChainResultsSummary chainResultSummary)
Get all comments on the given chain result, including those in
child jobs.
|
Comment |
getCommentById(long commentId) |
List<Comment> |
getCommentsForEntity(BambooIdProvider entity) |
List<Comment> |
getCommentsForEntity(long entityId) |
@Nullable Comment getCommentById(long commentId)
@Deprecated void deleteComment(@NotNull Comment comment, @NotNull ResultsSummary resultsSummary)
Comment addComment(@NotNull String content, @NotNull com.atlassian.user.User user, BambooIdProvider entity) throws AccessDeniedException
AccessDeniedException
void deleteComment(@NotNull Comment comment)
@NotNull List<Comment> getCommentsForEntity(BambooIdProvider entity)
@NotNull Map<Long,List<Comment>> getAllCommentsForPlanResult(@NotNull ChainResultsSummary chainResultSummary)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.