public interface ObjectResolver
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
resolve(ObjectReferenceType ref,
Class<T> expectedType,
String contextDescription,
OperationResult result)
Resolve the provided reference to object (ObjectType).
|
<T extends ObjectType> T resolve(ObjectReferenceType ref, Class<T> expectedType, String contextDescription, 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.ObjectNotFoundException
- requested object does not existSchemaException
- error dealing with storage schemaIllegalArgumentException
- wrong OID format, etc.Copyright © 2013 evolveum. All rights reserved.