com.evolveum.midpoint.model
Class ModelObjectResolver
java.lang.Object
com.evolveum.midpoint.model.ModelObjectResolver
- All Implemented Interfaces:
- ObjectResolver
@Component
public class ModelObjectResolver
- extends java.lang.Object
- implements ObjectResolver
- Author:
- semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelObjectResolver
public ModelObjectResolver()
resolve
public ObjectType resolve(ObjectReferenceType ref,
java.lang.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
getObject
public <T extends ObjectType> T getObject(java.lang.Class<T> clazz,
java.lang.String oid,
PropertyReferenceListType resolve,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
Copyright © 2012 evolveum. All Rights Reserved.