|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentDao
Method Summary | |
---|---|
int |
deleteByEntityId(DeletionSQLAdapter deletionAdapter)
Delete Comments related to an entity. |
Comment |
findById(long id)
|
java.util.List<Comment> |
findCommentByUser(java.lang.String userName)
|
java.util.List<Comment> |
getCommentsByUserForPlans(java.lang.String userName,
java.util.List<? extends Plan> 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 |
long |
scrollCommentsForExport(com.google.common.base.Function<Comment,java.lang.Void> function)
Scroll through and execute function for each of Comment Objects passed to function are not fully initialized. |
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Method Detail |
---|
@Nullable Comment findById(long id)
@NotNull java.util.List<Comment> getCommentsForEntity(long entityId)
@NotNull java.util.List<Comment> findCommentByUser(java.lang.String userName)
@NotNull java.util.List<Comment> getCommentsByUserForPlans(@NotNull java.lang.String userName, @NotNull java.util.List<? extends Plan> plans)
@Deprecated boolean hasPlanResultComments(@NotNull ResultsSummary resultsSummary)
ImmutableResultsSummary.getComments()
instead. Jobs no longer have comments
@Deprecated @NotNull java.util.List<Comment> getPlanResultComments(@NotNull ResultsSummary resultsSummary)
ImmutableResultsSummary.getComments()
instead. Jobs no longer have comments
long scrollCommentsForExport(@NotNull com.google.common.base.Function<Comment,java.lang.Void> function)
function
- function to be executed on each of the Comment
int deleteByEntityId(@NotNull DeletionSQLAdapter deletionAdapter)
deletionAdapter
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |