public interface ObjectResolver
Modifier and Type | Method and Description |
---|---|
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref,
Class<T> expectedType,
Collection<SelectorOptions<GetOperationOptions>> options,
String contextDescription,
Object task,
OperationResult result)
Resolve the provided reference to object (ObjectType).
|
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchIterative(Class<O> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ResultHandler<O> handler,
Object task,
OperationResult parentResult) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> T resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref, Class<T> expectedType, Collection<SelectorOptions<GetOperationOptions>> options, String contextDescription, Object task, OperationResult result) throws ObjectNotFoundException, SchemaException
ref
- object reference to resolvecontextDescription
- short description of the context of resolution, e.g. "executing expression FOO". Used in error messages.task
- ObjectNotFoundException
- requested object does not existSchemaException
- error dealing with storage schemaIllegalArgumentException
- wrong OID format, etc.
TODO resolve module dependencies to allow task to be of type Task<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void searchIterative(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<O> handler, Object task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
Copyright © 2016 evolveum. All rights reserved.