com.atlassian.bamboo.comment
Class CommentHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.hibernate.HibernateObjectDao
              extended by com.atlassian.bamboo.persistence.BambooHibernateObjectDao
                  extended by com.atlassian.bamboo.comment.CommentHibernateDao
All Implemented Interfaces:
bucket.core.persistence.ObjectDao, CommentDao, BambooObjectDao, org.springframework.beans.factory.InitializingBean

public class CommentHibernateDao
extends BambooHibernateObjectDao
implements CommentDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CommentHibernateDao()
           
 
Method Summary
 java.util.List<Comment> findCommentByUser(java.lang.String userName)
           
 java.lang.Class getPersistentClass()
           
 java.util.List<Comment> getPlanResultComments(ResultsSummary resultsSummary)
           
 boolean hasPlanResultComments(ResultsSummary resultsSummary)
           
 
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao
executeCountQuery, executeReturnLong, findById, findById
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

CommentHibernateDao

public CommentHibernateDao()
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()
Specified by:
getPersistentClass in interface bucket.core.persistence.ObjectDao

findCommentByUser

@NotNull
public java.util.List<Comment> findCommentByUser(java.lang.String userName)
Specified by:
findCommentByUser in interface CommentDao

hasPlanResultComments

public boolean hasPlanResultComments(@NotNull
                                     ResultsSummary resultsSummary)
Specified by:
hasPlanResultComments in interface CommentDao

getPlanResultComments

@NotNull
public java.util.List<Comment> getPlanResultComments(@NotNull
                                                             ResultsSummary resultsSummary)
Specified by:
getPlanResultComments in interface CommentDao


Copyright © 2010 Atlassian. All Rights Reserved.