com.atlassian.confluence.pages.persistence.dao.hibernate
Class HibernateCommentDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
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
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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, uniqueResult |
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 |
HibernateCommentDao
public HibernateCommentDao()
getPersistentClass
public java.lang.Class getPersistentClass()
- Specified by:
getPersistentClass
in interface ObjectDao
getById
public Comment getById(long id)
- Specified by:
getById
in interface CommentDao
getRecentlyUpdatedComments
public java.util.Iterator getRecentlyUpdatedComments(long spaceId,
int maxResults)
- Specified by:
getRecentlyUpdatedComments
in interface CommentDao
getPageComments
public java.util.List<Comment> getPageComments(long pageId,
java.util.Date since)
- Specified by:
getPageComments
in interface CommentDao
getPageComments
public java.util.List<Comment> getPageComments(long pageId,
java.util.Date since,
java.lang.String ignoreUsername)
- Specified by:
getPageComments
in interface CommentDao
countComments
public java.util.Map<com.atlassian.bonnie.Searchable,java.lang.Integer> countComments(java.util.Collection<? extends com.atlassian.bonnie.Searchable> searchables)
- Specified by:
countComments
in interface CommentDao
countComments
public int countComments(com.atlassian.bonnie.Searchable searchable)
- Specified by:
countComments
in interface CommentDao
Copyright © 2003-2013 Atlassian. All Rights Reserved.