@ParametersAreNonnullByDefault public class HibernatePersonalInformationDao extends ConfluenceHibernateObjectDao implements PersonalInformationDao, PersonalInformationBulkDao
HibernateObjectDao.CacheabilitycacheFactory, confluenceUserDaoNON_CACHEABLE| Constructor and Description |
|---|
HibernatePersonalInformationDao() |
| Modifier and Type | Method and Description |
|---|---|
Collection<PersonalInformation> |
bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
Bulk-fetches all PersonalInformation entities for the given UserKeys.
|
List<Long> |
findIdsWithAssociatedUser() |
List<PersonalInformation> |
getAllByUser(ConfluenceUser user)
Workaround for duplicate personal information.
|
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(String username)
Deprecated.
since 5.2. Use
getByUser(com.atlassian.confluence.user.ConfluenceUser) instead. |
Class<PersonalInformation> |
getPersistentClass() |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, updateModificationDataapplyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, refresh, reIndex, remove, replicate, save, saveRaw, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRawpublic PersonalInformation getByUser(@Nullable ConfluenceUser user)
PersonalInformationManager.getOrCreatePersonalInformation(User).getByUser in interface PersonalInformationDaopublic List<PersonalInformation> getAllByUser(@Nullable ConfluenceUser user)
PersonalInformationDaogetAllByUser in interface PersonalInformationDao@Deprecated public PersonalInformation getByUsername(String username)
getByUser(com.atlassian.confluence.user.ConfluenceUser) instead.getByUsername in interface PersonalInformationDaopublic PersonalInformation getById(long id)
PersonalInformationDaogetById in interface PersonalInformationDao@Nonnull public List<Long> findIdsWithAssociatedUser()
findIdsWithAssociatedUser in interface PersonalInformationDaoprotected PersonalInformation getByClassId(long id)
HibernateObjectDaogetByClassId in class HibernateObjectDaoid - the id of the object to look uppublic Class<PersonalInformation> getPersistentClass()
getPersistentClass in interface ObjectDaopublic Collection<PersonalInformation> bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
bulkFetchPersonalInformation in interface PersonalInformationBulkDaoPersonalInformation object for each userCopyright © 2003–2017 Atlassian. All rights reserved.