|
||||||||||
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)
|
void |
deleteComment(Comment comment,
ResultsSummary resultsSummary)
|
Comment |
getCommentById(long commentId)
|
java.util.List<Comment> |
getPlanResultComments(ResultsSummary resultsSummary)
Returns the list of comments attached to a plan and its subplans sorted by date (newest first). |
boolean |
hasPlanResultComments(ResultsSummary resultsSummary)
Checks if any comments are attached to a plan results summary or any of its subplans' result summaries. |
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 getCommentById(long commentId)
void saveComment(Comment comment)
comment
- to saveboolean hasPlanResultComments(@NotNull ResultsSummary resultsSummary)
resultsSummary
-
@NotNull java.util.List<Comment> getPlanResultComments(@NotNull ResultsSummary resultsSummary)
resultsSummary
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |