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
 
Constructor Summary
HibernateReferralDao()
           
 
Method Summary
 java.util.List findByPrefix(java.lang.String prefix)
           
 java.util.List<ReferralLink> findHotReferrers(long contentId, int maxResults, java.util.List bannedReferrers)
           
 ReferralLink findReferralLink(long contentId, java.lang.String linkUrl)
           
 java.lang.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 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-2014 Atlassian. All Rights Reserved.