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

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
      extended bycom.atlassian.hibernate.HibernateObjectDao
          extended bybucket.core.persistence.hibernate.CachableHibernateObjectDao
              extended bycom.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
                  extended bycom.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
                      extended bycom.atlassian.confluence.links.persistence.dao.hibernate.HibernateLinkDao
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, LinkDao, ObjectDao, VersionedObjectDao

public class HibernateLinkDao
extends ConfluenceHibernateObjectDao
implements LinkDao


Field Summary
 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
log
 
Fields inherited from class bucket.core.persistence.hibernate.CachableHibernateObjectDao
cacheManager
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
HibernateLinkDao()
           
 
Method Summary
 List findByDestinationSpaceKey(String spaceKey)
           
 List getLinksTo(ContentEntityObject theContent)
           
 Class getPersistentClass()
           
 List getReferringContent(ContentEntityObject theContent)
           
 void removeCorruptOutgoingLinks()
           
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
findByQuery
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, updateModificationData
 
Methods inherited from class bucket.core.persistence.hibernate.CachableHibernateObjectDao
setCacheManager
 
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
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory
 
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, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

HibernateLinkDao

public HibernateLinkDao()
Method Detail

getPersistentClass

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

getLinksTo

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

getReferringContent

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

findByDestinationSpaceKey

public List findByDestinationSpaceKey(String spaceKey)
Specified by:
findByDestinationSpaceKey in interface LinkDao

removeCorruptOutgoingLinks

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


Confluence is developed by Atlassian.