com.atlassian.bamboo.comment
Interface CommentDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
CommentHibernateDao

public interface CommentDao
extends BambooObjectDao


Method Summary
 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> getPlanResultComments(ResultsSummary resultsSummary)
           
 boolean hasPlanResultComments(ResultsSummary resultsSummary)
           
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

findCommentByUser

@NotNull
java.util.List<Comment> findCommentByUser(java.lang.String userName)

getCommentsByUserForPlans

@NotNull
java.util.List<Comment> getCommentsByUserForPlans(@NotNull
                                                          java.lang.String userName,
                                                          @NotNull
                                                          java.util.List<? extends Plan> plans)

hasPlanResultComments

boolean hasPlanResultComments(@NotNull
                              ResultsSummary resultsSummary)

getPlanResultComments

@NotNull
java.util.List<Comment> getPlanResultComments(@NotNull
                                                      ResultsSummary resultsSummary)


Copyright © 2012 Atlassian. All Rights Reserved.