Package com.atlassian.bamboo.comment
Interface CommentService
- All Known Implementing Classes:
CommentServiceImpl
public interface CommentService
-
Method Summary
Modifier and TypeMethodDescriptionaddComment
(@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)getAllCommentsForPlanResult
(@NotNull ChainResultsSummary chainResultSummary) Get all comments on the given chain result, including those in child jobs.@Nullable Comment
getCommentById
(long commentId) getCommentsForEntity
(long entityId) getCommentsForEntity
(BambooIdProvider entity)
-
Method Details
-
getCommentById
-
deleteComment
@Deprecated void deleteComment(@NotNull @NotNull Comment comment, @NotNull @NotNull ResultsSummary resultsSummary) Deprecated.since 5.0 use deleteComment(comment) -
addComment
Comment addComment(@NotNull @NotNull String content, @NotNull @NotNull com.atlassian.user.User user, BambooIdProvider entity) throws AccessDeniedException - Throws:
AccessDeniedException
-
deleteComment
-
getCommentsForEntity
-
getCommentsForEntity
-
getAllCommentsForPlanResult
@NotNull @NotNull Map<Long,List<Comment>> getAllCommentsForPlanResult(@NotNull @NotNull ChainResultsSummary chainResultSummary) Get all comments on the given chain result, including those in child jobs.
-