com.atlassian.confluence.links.persistence.dao.hibernate
Class HibernateReferralDao

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.links.persistence.dao.hibernate.HibernateReferralDao
All Implemented Interfaces:
ObjectDao, VersionedObjectDao, ReferralDao, org.springframework.beans.factory.InitializingBean

public class HibernateReferralDao
extends ConfluenceHibernateObjectDao
implements ReferralDao


Field Summary
 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
cacheFactory, confluenceUserDao
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Fields inherited from interface bucket.core.persistence.ObjectDao
NON_CACHEABLE
 
Constructor Summary
HibernateReferralDao()
           
 
Method Summary
 List findByPrefix(String prefix)
           
 List<ReferralLink> findHotReferrers(long contentId, int maxResults, List bannedReferrers)
           
 ReferralLink findReferralLink(long contentId, String linkUrl)
           
 Class getPersistentClass()
           
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, 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, 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
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

HibernateReferralDao

public HibernateReferralDao()
Method Detail

getPersistentClass

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

findByPrefix

public List findByPrefix(String prefix)
Specified by:
findByPrefix in interface ReferralDao

findHotReferrers

public List<ReferralLink> findHotReferrers(long contentId,
                                           int maxResults,
                                           List bannedReferrers)
Specified by:
findHotReferrers in interface ReferralDao

findReferralLink

public ReferralLink findReferralLink(long contentId,
                                     String linkUrl)
Specified by:
findReferralLink in interface ReferralDao


Copyright © 2003–2015 Atlassian. All rights reserved.