| Package | Description |
|---|---|
| com.atlassian.bamboo.comment | |
| com.atlassian.bamboo.resultsummary |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<Comment,Long> |
Comment.getEntityId
Function that returns Comment's entityId
|
static com.google.common.collect.Ordering<Comment> |
Comment.orderingByMostRecentFirst |
| Modifier and Type | Method and Description |
|---|---|
Comment |
CommentManager.addComment(String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
Deprecated.
since 5.0 use addComment(content, user, resultsSummary.getId)
|
Comment |
CommentService.addComment(String content,
com.atlassian.user.User user,
BambooIdProvider entity) |
Comment |
CommentManager.addComment(String content,
com.atlassian.user.User user,
long entityId) |
Comment |
CommentService.addComment(String content,
com.atlassian.user.User user,
long entityId)
Deprecated.
since 5.4 use addComment(content, user, entity)
|
Comment |
CommentDao.findById(long id) |
Comment |
CommentManager.getCommentById(long commentId) |
Comment |
CommentService.getCommentById(long commentId) |
| Modifier and Type | Method and Description |
|---|---|
List<Comment> |
CommentDao.findCommentByUser(String userName) |
List<Comment> |
CommentManager.getCommentsForBuildResults(PlanKey planKey)
Get all comments associated with Plan's build results
|
List<Comment> |
CommentDao.getCommentsForBuildResults(PlanKey planKey) |
List<Comment> |
CommentService.getCommentsForEntity(BambooIdProvider entity) |
List<Comment> |
CommentManager.getCommentsForEntity(long entityId)
Get list of comments for a given entity
|
List<Comment> |
CommentService.getCommentsForEntity(long entityId) |
List<Comment> |
CommentDao.getCommentsForEntity(long entityId) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommentManager.deleteComment(Comment comment) |
void |
CommentService.deleteComment(Comment comment) |
void |
CommentManager.deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
void |
CommentService.deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
void |
CommentManager.saveComment(Comment comment)
Saves or updates a comment to the database
|
| Modifier and Type | Method and Description |
|---|---|
long |
CommentDao.scrollCommentsForExport(com.google.common.base.Function<Comment,Void> function)
Scroll through and execute function for each of Comment
Objects passed to function are not fully initialized.
|
| Modifier and Type | Method and Description |
|---|---|
List<Comment> |
ImmutableResultsSummary.getComments()
Deprecated.
since 5.0 use CommentService.getCommentsForEntity(getId())
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.