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