com.atlassian.confluence.user.persistence.dao
Interface PersonalInformationDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
CachingPersonalInformationDao, HibernatePersonalInformationDao

public interface PersonalInformationDao
extends ObjectDao

Manages the persistence of personal information objects, containing user properties like logos, preferences, etc.


Field Summary
 
Fields inherited from interface bucket.core.persistence.ObjectDao
NON_CACHEABLE
 
Method Summary
 PersonalInformation getById(long id)
          Returns the personal information object with the given ID.
 PersonalInformation getByUser(ConfluenceUser user)
          Fetches the personal information object for this user.
 PersonalInformation getByUsername(String username)
          Deprecated. since 5.2. User getByUser(com.atlassian.confluence.user.ConfluenceUser) instead.
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getByUser

PersonalInformation getByUser(ConfluenceUser user)
Fetches the personal information object for this user.

Since:
5.2

getByUsername

@Deprecated
PersonalInformation getByUsername(String username)
Deprecated. since 5.2. User getByUser(com.atlassian.confluence.user.ConfluenceUser) instead.


getById

PersonalInformation getById(long id)
Returns the personal information object with the given ID.

Since:
3.0


Copyright © 2003–2015 Atlassian. All rights reserved.