com.atlassian.confluence.pages.persistence.dao.hibernate
Class HibernateCommentDao

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.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
                  extended by com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
                      extended by com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateCommentDao
All Implemented Interfaces:
ObjectDao, VersionedObjectDao, CommentDao, org.springframework.beans.factory.InitializingBean

public class HibernateCommentDao
extends ConfluenceHibernateObjectDao
implements CommentDao


Field Summary
 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
cacheFactory
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateCommentDao()
           
 
Method Summary
 Comment getById(long id)
           
 List<Comment> getPageComments(long pageId, Date since)
           
 List<Comment> getPageComments(long pageId, Date since, String ignoreUsername)
           
 Class getPersistentClass()
           
 Iterator getRecentlyUpdatedComments(long spaceId, int maxResults)
           
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, updateModificationData
 
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, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex
 
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 bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

HibernateCommentDao

public HibernateCommentDao()
Method Detail

getPersistentClass

public Class getPersistentClass()
Specified by:
getPersistentClass in interface ObjectDao

getById

public Comment getById(long id)
Specified by:
getById in interface CommentDao

getRecentlyUpdatedComments

public Iterator getRecentlyUpdatedComments(long spaceId,
                                           int maxResults)
Specified by:
getRecentlyUpdatedComments in interface CommentDao

getPageComments

public List<Comment> getPageComments(long pageId,
                                     Date since)
Specified by:
getPageComments in interface CommentDao

getPageComments

public List<Comment> getPageComments(long pageId,
                                     Date since,
                                     String ignoreUsername)
Specified by:
getPageComments in interface CommentDao


Copyright © 2003-2013 Atlassian. All Rights Reserved.