ReadThroughCachingPersonalInformationDao@ParametersAreNonnullByDefault @Deprecated public class CachingPersonalInformationDao extends DelegatingObjectDaoInternal<PersonalInformation> implements PersonalInformationDaoInternal, PersonalInformationBulkDao
There is a potential race condition in the cache, where creating two personal information objects at approximately the same time will lead to this cache returning the
| Constructor and Description |
|---|
CachingPersonalInformationDao(PersonalInformationDaoInternal delegateDao,
com.atlassian.vcache.VCacheFactory cacheFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<PersonalInformation> |
bulkFetchPersonalInformation(Collection<com.atlassian.sal.api.user.UserKey> userKeys)
Deprecated.
Delegates immediately to the database, and then adds each of the results to the cache.
|
@NonNull List<Long> |
findIdsWithAssociatedUser()
Deprecated.
|
List<PersonalInformation> |
getAllByUser(ConfluenceUser user)
Deprecated.
Workaround for duplicate personal information.
|
PersonalInformation |
getById(long id)
Deprecated.
Returns the personal information object with the given ID.
|
PersonalInformation |
getByUser(ConfluenceUser user)
Deprecated.
Fetches the personal information object for this user.
|
void |
remove(com.atlassian.core.bean.EntityObject object)
Deprecated.
Remove object from persistence.
|
void |
removeEntity(PersonalInformation objectToRemove)
Deprecated.
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 CachingPersonalInformationDao(PersonalInformationDaoInternal delegateDao, com.atlassian.vcache.VCacheFactory 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)
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.