public class CachingPersonalInformationDao extends java.lang.Object implements PersonalInformationDao
NON_CACHEABLE
Constructor and Description |
---|
CachingPersonalInformationDao(PersonalInformationDao delegate,
com.atlassian.cache.CacheFactory cacheFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
findAll() |
java.util.List |
findAllSorted(java.lang.String s) |
java.util.List |
findAllSorted(java.lang.String s,
boolean cached,
int firstRow,
int maxRows) |
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(java.lang.String username)
Deprecated.
|
java.lang.Class |
getPersistentClass() |
void |
refresh(com.atlassian.core.bean.EntityObject objectToRrfresh) |
void |
remove(com.atlassian.core.bean.EntityObject object) |
void |
replicate(java.lang.Object objectToReplicate) |
void |
save(com.atlassian.core.bean.EntityObject objectToSave) |
void |
saveRaw(com.atlassian.core.bean.EntityObject objectToSave) |
public CachingPersonalInformationDao(PersonalInformationDao delegate, com.atlassian.cache.CacheFactory cacheFactory)
public PersonalInformation getByUser(ConfluenceUser user)
PersonalInformationDao
getByUser
in interface PersonalInformationDao
@Deprecated public PersonalInformation getByUsername(java.lang.String username)
getByUsername
in interface PersonalInformationDao
public PersonalInformation getById(long id)
PersonalInformationDao
getById
in interface PersonalInformationDao
public void remove(com.atlassian.core.bean.EntityObject object)
public void refresh(com.atlassian.core.bean.EntityObject objectToRrfresh)
public void replicate(java.lang.Object objectToReplicate)
public java.util.List findAllSorted(java.lang.String s)
findAllSorted
in interface ObjectDao
public java.util.List findAllSorted(java.lang.String s, boolean cached, int firstRow, int maxRows)
findAllSorted
in interface ObjectDao
public void save(com.atlassian.core.bean.EntityObject objectToSave)
public java.lang.Class getPersistentClass()
getPersistentClass
in interface ObjectDao
Copyright © 2003-2014 Atlassian. All Rights Reserved.