public class DirectoryFileObjectResolver extends Object implements ObjectResolver
Constructor and Description |
---|
DirectoryFileObjectResolver(File directory) |
Modifier and Type | Method and Description |
---|---|
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref,
Class<T> expectedType,
Collection<SelectorOptions<GetOperationOptions>> options,
String contextDescription,
Object task,
OperationResult result)
Resolve the provided reference to object (ObjectType).
|
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
searchIterative(Class<O> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ResultHandler<O> handler,
Object task,
OperationResult parentResult) |
public DirectoryFileObjectResolver(File directory)
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> T resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref, Class<T> expectedType, Collection<SelectorOptions<GetOperationOptions>> options, String contextDescription, Object task, OperationResult result) throws ObjectNotFoundException, SchemaException
ObjectResolver
resolve
in interface ObjectResolver
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 schemapublic <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.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
searchIterative
in interface ObjectResolver
SchemaException
ObjectNotFoundException
CommunicationException
ConfigurationException
SecurityViolationException
Copyright © 2016 evolveum. All rights reserved.