@Component public class ObjectRetriever extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_DOT |
static String |
OPERATION_GET_OBJECT_INTERNAL |
Constructor and Description |
---|
ObjectRetriever() |
Modifier and Type | Method and Description |
---|---|
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
countObjectsAttempt(Class<T> type,
ObjectQuery query,
OperationResult result) |
RepositoryQueryDiagResponse |
executeQueryDiagnosticsRequest(RepositoryQueryDiagRequest request,
OperationResult result) |
protected SqlRepositoryConfiguration |
getConfiguration() |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getObjectAttempt(Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getObjectInternal(org.hibernate.Session session,
Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
boolean lockForUpdate,
OperationResult operationResult) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getVersionAttempt(Class<T> type,
String oid,
OperationResult result) |
boolean |
isAnySubordinateAttempt(String upperOrgOid,
Collection<String> lowerObjectOids) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> |
listAccountShadowOwnerAttempt(String accountOid,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
listResourceObjectShadowsAttempt(String resourceOid,
Class<T> resourceObjectShadowType,
OperationResult result) |
<C extends Containerable> |
searchContainersAttempt(Class<C> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchObjectsAttempt(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchObjectsIterativeAttempt(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchObjectsIterativeByPaging(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchObjectsIterativeByPagingStrictlySequential(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result)
Strictly-sequential version of paged search.
|
<F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType> |
searchShadowOwnerAttempt(String shadowOid,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
public static final String CLASS_DOT
public static final String OPERATION_GET_OBJECT_INTERNAL
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> PrismObject<T> getObjectAttempt(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws ObjectNotFoundException, SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> PrismObject<T> getObjectInternal(org.hibernate.Session session, Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, boolean lockForUpdate, OperationResult operationResult) throws ObjectNotFoundException, SchemaException, DtoTranslationException
protected SqlRepositoryConfiguration getConfiguration()
public <F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType> PrismObject<F> searchShadowOwnerAttempt(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result)
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> listAccountShadowOwnerAttempt(String accountOid, OperationResult result) throws ObjectNotFoundException
ObjectNotFoundException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> int countObjectsAttempt(Class<T> type, ObjectQuery query, OperationResult result)
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> SearchResultList<PrismObject<T>> searchObjectsAttempt(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
public <C extends Containerable> SearchResultList<C> searchContainersAttempt(Class<C> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> List<PrismObject<T>> listResourceObjectShadowsAttempt(String resourceOid, Class<T> resourceObjectShadowType, OperationResult result) throws ObjectNotFoundException, SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> String getVersionAttempt(Class<T> type, String oid, OperationResult result) throws ObjectNotFoundException, SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void searchObjectsIterativeAttempt(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void searchObjectsIterativeByPaging(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void searchObjectsIterativeByPagingStrictlySequential(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
public boolean isAnySubordinateAttempt(String upperOrgOid, Collection<String> lowerObjectOids)
public RepositoryQueryDiagResponse executeQueryDiagnosticsRequest(RepositoryQueryDiagRequest request, OperationResult result)
Copyright © 2016 evolveum. All rights reserved.