public interface CommentDao extends BambooObjectDao<Comment>
Modifier and Type | Method and Description |
---|---|
int |
deleteByEntityId(DeletionSQLAdapter deletionAdapter)
Delete Comments related to an entity.
|
Comment |
findById(long id) |
List<Comment> |
findCommentByUser(String userName) |
List<Comment> |
getCommentsForBuildResults(PlanKey planKey) |
List<Comment> |
getCommentsForEntity(long entityId) |
List<Comment> |
getCommentsForJobResults(ChainResultsSummary chainResultsSummary) |
long |
scrollCommentsForExport(Consumer<Comment> consumer)
Scroll through and execute function for each of Comment
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@Nullable Comment findById(long id)
@NotNull List<Comment> getCommentsForBuildResults(@NotNull PlanKey planKey)
@NotNull List<Comment> getCommentsForJobResults(@NotNull ChainResultsSummary chainResultsSummary)
long scrollCommentsForExport(@NotNull Consumer<Comment> consumer)
consumer
- consumer that will accept each of the Commentsint deleteByEntityId(@NotNull DeletionSQLAdapter deletionAdapter)
deletionAdapter
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.