|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentManager
Method Summary | |
---|---|
Comment |
addComment(java.lang.String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
Deprecated. since 5.0 use addComment(content, user, resultsSummary.getId) |
Comment |
addComment(java.lang.String content,
com.atlassian.user.User user,
long entityId)
|
void |
deleteAllCommentsForEntity(BambooIdProvider entity)
|
void |
deleteComment(Comment comment)
|
void |
deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated. since 5.0 use deleteComment(comment) |
Comment |
getCommentById(long commentId)
|
java.util.List<Comment> |
getCommentsByUserForPlans(java.lang.String userName,
java.util.List<? extends Plan> plans)
Returns the list of comments written by a specified user for the requested plans. |
java.util.List<Comment> |
getCommentsForEntity(long entityId)
|
java.util.List<Comment> |
getPlanResultComments(ResultsSummary resultsSummary)
Deprecated. since 4.4 use ImmutableResultsSummary.getComments() instead. Jobs no longer have comments |
boolean |
hasPlanResultComments(ResultsSummary resultsSummary)
Deprecated. since 4.4 use ImmutableResultsSummary.getComments() instead. Jobs no longer have comments |
void |
saveComment(Comment comment)
Saves or updates a comment to the database |
Method Detail |
---|
Comment addComment(java.lang.String content, ResultsSummary resultsSummary, com.atlassian.user.User user)
void deleteComment(Comment comment, ResultsSummary resultsSummary)
Comment addComment(java.lang.String content, com.atlassian.user.User user, long entityId)
void deleteComment(Comment comment)
void deleteAllCommentsForEntity(@NotNull BambooIdProvider entity)
@NotNull java.util.List<Comment> getCommentsForEntity(long entityId)
Comment getCommentById(long commentId)
void saveComment(Comment comment)
comment
- to save@Deprecated boolean hasPlanResultComments(@NotNull ResultsSummary resultsSummary)
ImmutableResultsSummary.getComments()
instead. Jobs no longer have comments
@NotNull @Deprecated java.util.List<Comment> getPlanResultComments(@NotNull ResultsSummary resultsSummary)
ImmutableResultsSummary.getComments()
instead. Jobs no longer have comments
resultsSummary
-
@NotNull java.util.List<Comment> getCommentsByUserForPlans(@NotNull java.lang.String userName, @NotNull java.util.List<? extends Plan> plans)
userName
- plans
- non-empty list of plans
java.lang.IllegalArgumentException
- if plans
is empty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |