com.atlassian.confluence.internal.persistence.ObjectDaoInternal
instead.@Deprecated public interface ObjectDao
Modifier and Type | Method and Description |
---|---|
@NonNull List |
findAll()
Deprecated.
Find all objects currently persisted of a particular type.
|
@NonNull List |
findAllSorted(String sortField)
Deprecated.
Find all objects currently persisted of a particular type and sort results by named property.
|
@NonNull List |
findAllSorted(String sortField,
boolean cacheable,
int offset,
int maxResultCount)
Deprecated.
Find all objects currently persisted of a particular type and sort results by named property.
|
<T> @NonNull PageResponse<T> |
findByClassIds(Iterable<Long> ids,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super T> filter)
Deprecated.
Find a list of objects from the same persistent class.
|
Class |
getPersistentClass()
Deprecated.
|
void |
refresh(com.atlassian.core.bean.EntityObject objectToRefresh)
Deprecated.
since 6.10.0. Use
ObjectDaoInternal#refreshEntity(EntityObject) instead. |
void |
remove(com.atlassian.core.bean.EntityObject object)
Deprecated.
since 6.10.0. Use
ObjectDaoInternal#removeEntity(EntityObject) instead. |
void |
replicate(Object objectToReplicate)
Deprecated.
since 6.10.0. Use
ObjectDaoInternal#replicateEntity(EntityObject) instead. |
void |
save(com.atlassian.core.bean.EntityObject objectToSave)
Deprecated.
since 6.10.0. Use
ObjectDaoInternal#saveEntity(EntityObject) instead. |
void |
saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
Deprecated.
since 6.10.0. Use
ObjectDaoInternal#saveRawEntity(EntityObject) instead. |
@Deprecated void remove(com.atlassian.core.bean.EntityObject object)
ObjectDaoInternal#removeEntity(EntityObject)
instead.@Deprecated void refresh(com.atlassian.core.bean.EntityObject objectToRefresh)
ObjectDaoInternal#refreshEntity(EntityObject)
instead.@Deprecated void replicate(Object objectToReplicate)
ObjectDaoInternal#replicateEntity(EntityObject)
instead.@NonNull List findAll()
@NonNull List findAllSorted(String sortField)
sortField
- the name of the property to be sorted on. This should be null if no sorting is required.@NonNull List findAllSorted(String sortField, boolean cacheable, int offset, int maxResultCount)
sortField
- the name of the property to be sorted on. This should be null if no sorting is required.cacheable
- control whether the results should be cachedoffset
- the index of the first result to be returnedmaxResultCount
- the maximum number of results required. Use -1 to specify no limit.<T> @NonNull PageResponse<T> findByClassIds(Iterable<Long> ids, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super T> filter)
T
- the type of entity to returnids
- - the ids of the entities to findlimitedRequest
- the pagination request defining the page size to fetchfilter
- a predicate to do in memory filtering of the result set before returning@Deprecated void save(com.atlassian.core.bean.EntityObject objectToSave)
ObjectDaoInternal#saveEntity(EntityObject)
instead.Class getPersistentClass()
@Deprecated void saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
ObjectDaoInternal#saveRawEntity(EntityObject)
instead.objectToSave
- Copyright © 2003–2021 Atlassian. All rights reserved.