com.atlassian.confluence.links.persistence.dao.hibernate
Class HibernateReferralDao
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.links.persistence.dao.hibernate.HibernateReferralDao
- All Implemented Interfaces:
- ObjectDao, VersionedObjectDao, ReferralDao, org.springframework.beans.factory.InitializingBean
public class HibernateReferralDao
- extends ConfluenceHibernateObjectDao
- implements ReferralDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
findAll, 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 |
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 |
HibernateReferralDao
public HibernateReferralDao()
getPersistentClass
public java.lang.Class getPersistentClass()
- Specified by:
getPersistentClass
in interface ObjectDao
findByPrefix
public java.util.List findByPrefix(java.lang.String prefix)
- Specified by:
findByPrefix
in interface ReferralDao
findHotReferrers
public java.util.List<ReferralLink> findHotReferrers(long contentId,
int maxResults,
java.util.List bannedReferrers)
- Specified by:
findHotReferrers
in interface ReferralDao
findReferralLink
public ReferralLink findReferralLink(long contentId,
java.lang.String linkUrl)
- Specified by:
findReferralLink
in interface ReferralDao
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.