com.evolveum.midpoint.test.util
Class DirectoryFileObjectResolver
java.lang.Object
com.evolveum.midpoint.test.util.DirectoryFileObjectResolver
- All Implemented Interfaces:
- ObjectResolver
public class DirectoryFileObjectResolver
- extends Object
- implements ObjectResolver
- Author:
- semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryFileObjectResolver
public DirectoryFileObjectResolver(File directory)
resolve
public <T extends ObjectType> T resolve(ObjectReferenceType ref,
Class<T> expectedType,
String contextDescription,
OperationResult result)
throws ObjectNotFoundException,
SchemaException
- Description copied from interface:
ObjectResolver
- Resolve the provided reference to object (ObjectType).
Note: The reference is used instead of just OID because the reference
also contains object type. This speeds up the repository operations.
- Specified by:
resolve
in interface ObjectResolver
- Parameters:
ref
- object reference to resolvecontextDescription
- short description of the context of resolution, e.g. "executing expression FOO". Used in error messages.
- Returns:
- resolved object
- Throws:
ObjectNotFoundException
- requested object does not exist
SchemaException
- error dealing with storage schema
Copyright © 2013 evolveum. All Rights Reserved.