public class ReadThroughCachingPersonalInformationDao extends DelegatingObjectDaoInternal<PersonalInformation> implements PersonalInformationDaoInternal, PersonalInformationBulkDao
| Modifier and Type | Method and Description |
|---|---|
Collection<PersonalInformation> |
bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
Bulk-fetch the
PersonalInformation entities for the given collection of UserKeys. |
static ReadThroughCachingPersonalInformationDao |
create(PersonalInformationDaoInternal delegateDao,
com.atlassian.cache.CacheFactory cacheFactory) |
@NonNull List<Long> |
findIdsWithAssociatedUser() |
List<PersonalInformation> |
getAllByUser(ConfluenceUser user)
Workaround for duplicate personal information.
|
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.
|
void |
remove(com.atlassian.core.bean.EntityObject object)
Remove object from persistence.
|
void |
removeEntity(PersonalInformation objectToRemove)
Remove object from persistence.
|
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic static ReadThroughCachingPersonalInformationDao create(PersonalInformationDaoInternal delegateDao, com.atlassian.cache.CacheFactory cacheFactory)
public PersonalInformation getByUser(ConfluenceUser user)
PersonalInformationDaogetByUser in interface PersonalInformationDaopublic List<PersonalInformation> getAllByUser(ConfluenceUser user)
PersonalInformationDaogetAllByUser in interface PersonalInformationDaopublic PersonalInformation getById(long id)
PersonalInformationDaogetById in interface PersonalInformationDaopublic @NonNull List<Long> findIdsWithAssociatedUser()
findIdsWithAssociatedUser in interface PersonalInformationDaopublic Collection<PersonalInformation> bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
PersonalInformationBulkDaoPersonalInformation entities for the given collection of UserKeys.bulkFetchPersonalInformation in interface PersonalInformationBulkDaoPersonalInformation object for each userpublic void remove(com.atlassian.core.bean.EntityObject object)
ObjectDaoInternalremove in interface ObjectDaoremove in interface ObjectDaoInternal<PersonalInformation>remove in class DelegatingObjectDaoInternal<PersonalInformation>public void removeEntity(PersonalInformation objectToRemove)
ObjectDaoInternalremoveEntity in interface ObjectDaoInternal<PersonalInformation>removeEntity in class DelegatingObjectDaoInternal<PersonalInformation>Copyright © 2003–2022 Atlassian. All rights reserved.