@ParametersAreNonnullByDefault public class HibernatePersonalInformationDao extends ConfluenceHibernateObjectDao<PersonalInformation> implements PersonalInformationDaoInternal, PersonalInformationBulkDao
HibernateObjectDao.CacheabilitycacheFactory, confluenceUserDao| 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.
|
@NonNull List<Long> |
findIdsWithAssociatedUser() |
List<PersonalInformation> |
getAllByUser(@Nullable 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(@Nullable ConfluenceUser user)
Fetches a personal information object for the specified user.
|
Class<PersonalInformation> |
getPersistentClass()
Gets the type of
EntityObject this Dao works with. |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationDataapplyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic PersonalInformation getByUser(@Nullable ConfluenceUser user)
PersonalInformationManager.getOrCreatePersonalInformation(User).getByUser in interface PersonalInformationDaopublic List<PersonalInformation> getAllByUser(@Nullable ConfluenceUser user)
PersonalInformationDaogetAllByUser in interface PersonalInformationDaopublic PersonalInformation getById(long id)
PersonalInformationDaogetById in interface PersonalInformationDaopublic @NonNull List<Long> findIdsWithAssociatedUser()
findIdsWithAssociatedUser in interface PersonalInformationDaoprotected PersonalInformation getByClassId(long id)
HibernateObjectDaogetByClassId in class HibernateObjectDao<PersonalInformation>id - the id of the object to look uppublic Class<PersonalInformation> getPersistentClass()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternal<PersonalInformation>public Collection<PersonalInformation> bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
bulkFetchPersonalInformation in interface PersonalInformationBulkDaoPersonalInformation object for each userCopyright © 2003–2022 Atlassian. All rights reserved.