public interface CommentDao extends BambooObjectDao<Comment>
Modifier and Type | Method and Description |
---|---|
int |
deleteByEntityId(@NotNull DeletionSQLAdapter deletionAdapter)
Delete Comments related to an entity.
|
@Nullable Comment |
findById(long id) |
@NotNull List<Comment> |
findCommentByUser(String userName) |
@NotNull List<Comment> |
getCommentsForBuildResults(@NotNull PlanKey planKey) |
@NotNull List<Comment> |
getCommentsForEntity(long entityId) |
@NotNull List<Comment> |
getCommentsForJobResults(@NotNull ChainResultsSummary chainResultsSummary) |
long |
scrollCommentsForExport(@NotNull 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 @Nullable Comment findById(long id)
@NotNull @NotNull List<Comment> getCommentsForBuildResults(@NotNull @NotNull PlanKey planKey)
@NotNull @NotNull List<Comment> getCommentsForJobResults(@NotNull @NotNull ChainResultsSummary chainResultsSummary)
long scrollCommentsForExport(@NotNull @NotNull Consumer<Comment> consumer)
consumer
- consumer that will accept each of the Commentsint deleteByEntityId(@NotNull @NotNull DeletionSQLAdapter deletionAdapter)
deletionAdapter
- Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.