public interface ObjectResolver
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
resolve(ObjectReferenceType ref,
Class<T> expectedType,
Collection<SelectorOptions<GetOperationOptions>> options,
String contextDescription,
Object task,
OperationResult result)
Resolve the provided reference to object (ObjectType).
|
<O extends ObjectType> |
searchIterative(Class<O> type,
com.evolveum.midpoint.prism.query.ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ResultHandler<O> handler,
Object task,
OperationResult parentResult) |
<T extends ObjectType> T resolve(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 ObjectType> void searchIterative(Class<O> type, com.evolveum.midpoint.prism.query.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.