public interface ObjectResolver
Modifier and Type | Interface and Description |
---|---|
static interface |
ObjectResolver.Session |
Modifier and Type | Method and Description |
---|---|
default ObjectResolver.Session |
openResolutionSession(GetOperationOptions options) |
<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).
|
default void |
resolveAllReferences(Collection<PrismContainerValue> pcvs,
Object taskObject,
OperationResult result) |
default void |
resolveReference(PrismReferenceValue ref,
String contextDescription,
ObjectResolver.Session session,
Object task,
OperationResult result) |
<O extends ObjectType> |
searchIterative(Class<O> type,
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, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<O> handler, Object task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
default void resolveAllReferences(Collection<PrismContainerValue> pcvs, Object taskObject, OperationResult result)
default ObjectResolver.Session openResolutionSession(GetOperationOptions options)
default void resolveReference(PrismReferenceValue ref, String contextDescription, ObjectResolver.Session session, Object task, OperationResult result)
Copyright © 2018 Evolveum. All rights reserved.