com.atlassian.confluence.setup.settings
Class DefaultGlobalDescriptionDao

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.setup.settings.DefaultGlobalDescriptionDao
All Implemented Interfaces:
ObjectDao, GlobalDescriptionDao, org.springframework.beans.factory.InitializingBean

public class DefaultGlobalDescriptionDao
extends HibernateObjectDao
implements GlobalDescriptionDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Fields inherited from interface bucket.core.persistence.ObjectDao
NON_CACHEABLE
 
Constructor Summary
DefaultGlobalDescriptionDao()
           
 
Method Summary
protected  GlobalDescription getByClassId(long id)
          Retrieve the object with a particular id from the database.
 GlobalDescription getGlobalDescription()
           
 Class<GlobalDescription> getPersistentClass()
           
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, findAllSorted, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, uniqueResult, updateModificationData
 
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

DefaultGlobalDescriptionDao

public DefaultGlobalDescriptionDao()
Method Detail

getByClassId

protected GlobalDescription getByClassId(long id)
Description copied from class: HibernateObjectDao
Retrieve the object with a particular id from the database. The object must be of the same class as the DAO's getPersistentClass() method returns.

Overrides:
getByClassId in class HibernateObjectDao
Parameters:
id - the id of the object to look up
Returns:
the corresponding object, or null if the object does not exist with the appropriate class and id.

getPersistentClass

public Class<GlobalDescription> getPersistentClass()
Specified by:
getPersistentClass in interface ObjectDao

getGlobalDescription

public GlobalDescription getGlobalDescription()
Specified by:
getGlobalDescription in interface GlobalDescriptionDao


Copyright © 2003–2015 Atlassian. All rights reserved.