Package com.atlassian.bamboo.comment
Interface CommentService
-
- All Known Implementing Classes:
CommentServiceImpl
public interface CommentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CommentaddComment(@NotNull String content, @NotNull com.atlassian.user.User user, BambooIdProvider entity)voiddeleteComment(@NotNull Comment comment)voiddeleteComment(@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 CommentgetCommentById(long commentId)@NotNull List<Comment>getCommentsForEntity(long entityId)@NotNull List<Comment>getCommentsForEntity(BambooIdProvider entity)
-
-
-
Method Detail
-
getCommentById
@Nullable @Nullable Comment getCommentById(long commentId)
-
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
void deleteComment(@NotNull @NotNull Comment comment)
-
getCommentsForEntity
@NotNull @NotNull List<Comment> getCommentsForEntity(BambooIdProvider entity)
-
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.
-
-