com.atlassian.confluence.user.persistence.dao.hibernate
Class HibernatePersonalInformationDao

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

public class HibernatePersonalInformationDao
extends ConfluenceHibernateObjectDao
implements PersonalInformationDao


Field Summary
 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
cacheFactory
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernatePersonalInformationDao()
           
 
Method Summary
 PersonalInformation getById(long id)
          Returns the personal information object with the given ID.
 PersonalInformation getByUsername(String username)
          Fetches a personal information object for the specified username.
 Class<PersonalInformation> getPersistentClass()
           
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, 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
 
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

HibernatePersonalInformationDao

public HibernatePersonalInformationDao()
Method Detail

getByUsername

public PersonalInformation getByUsername(String username)
Fetches a personal information object for the specified username. To get a properly initialized personal information object, please use PersonalInformationManager.getPersonalInformation(User).

Specified by:
getByUsername in interface PersonalInformationDao

getById

public PersonalInformation getById(long id)
Description copied from interface: PersonalInformationDao
Returns the personal information object with the given ID.

Specified by:
getById in interface PersonalInformationDao

getPersistentClass

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.