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

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.HibernateLinkDao
All Implemented Interfaces:
ObjectDao, VersionedObjectDao, LinkDao, org.springframework.beans.factory.InitializingBean

public class HibernateLinkDao
extends ConfluenceHibernateObjectDao
implements LinkDao


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
HibernateLinkDao()
           
 
Method Summary
 java.util.List findByDestinationSpaceKey(java.lang.String spaceKey)
           
 java.util.List getLinksTo(ContentEntityObject theContent)
           
 java.lang.Class getPersistentClass()
           
 java.util.List getReferringContent(ContentEntityObject theContent)
           
 void removeCorruptOutgoingLinks()
           
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, 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

HibernateLinkDao

public HibernateLinkDao()
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()
Specified by:
getPersistentClass in interface ObjectDao

getLinksTo

public java.util.List getLinksTo(ContentEntityObject theContent)
Specified by:
getLinksTo in interface LinkDao

getReferringContent

public java.util.List getReferringContent(ContentEntityObject theContent)
Specified by:
getReferringContent in interface LinkDao

findByDestinationSpaceKey

public java.util.List findByDestinationSpaceKey(java.lang.String spaceKey)
Specified by:
findByDestinationSpaceKey in interface LinkDao

removeCorruptOutgoingLinks

public void removeCorruptOutgoingLinks()
Specified by:
removeCorruptOutgoingLinks in interface LinkDao


Copyright © 2003-2014 Atlassian. All Rights Reserved.