|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.hibernate.HibernateObjectDao com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao com.atlassian.confluence.user.persistence.dao.hibernate.HibernatePersonalInformationDao
public class HibernatePersonalInformationDao
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 | |
---|---|
HibernatePersonalInformationDao()
|
Method Summary | |
---|---|
protected PersonalInformation |
getByClassId(long id)
Retrieve the object with a particular id from the database. |
PersonalInformation |
getById(long id)
Returns the personal information object with the given ID. |
PersonalInformation |
getByUser(ConfluenceUser user)
Fetches a personal information object for the specified user. |
PersonalInformation |
getByUsername(java.lang.String username)
Deprecated. since 5.2. Use getByUser(com.atlassian.confluence.user.ConfluenceUser) instead. |
java.lang.Class<PersonalInformation> |
getPersistentClass()
|
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
---|
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, 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 |
---|
public HibernatePersonalInformationDao()
Method Detail |
---|
public PersonalInformation getByUser(ConfluenceUser user)
PersonalInformationManager.getOrCreatePersonalInformation(User)
.
getByUser
in interface PersonalInformationDao
@Deprecated public PersonalInformation getByUsername(java.lang.String username)
getByUser(com.atlassian.confluence.user.ConfluenceUser)
instead.
getByUsername
in interface PersonalInformationDao
public PersonalInformation getById(long id)
PersonalInformationDao
getById
in interface PersonalInformationDao
protected PersonalInformation getByClassId(long id)
HibernateObjectDao
getByClassId
in class HibernateObjectDao
id
- the id of the object to look up
public java.lang.Class<PersonalInformation> getPersistentClass()
getPersistentClass
in interface ObjectDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |