@Component public class ModelObjectResolver extends Object implements ObjectResolver
Constructor and Description |
---|
ModelObjectResolver() |
Modifier and Type | Method and Description |
---|---|
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
countObjects(Class<O> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getObject(Class<T> clazz,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getObjectSimple(Class<T> clazz,
String oid,
GetOperationOptions options,
Task task,
OperationResult result) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> |
getSystemConfiguration(OperationResult result) |
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref,
Class<O> 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> |
resolve(PrismReferenceValue refVal,
String string,
GetOperationOptions options,
Task task,
OperationResult result) |
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
resolve(PrismReferenceValue refVal,
String string,
Task task,
OperationResult result) |
<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 <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> O resolve(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref, Class<O> 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> PrismObject<O> resolve(PrismReferenceValue refVal, String string, Task task, OperationResult result) throws ObjectNotFoundException
ObjectNotFoundException
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> PrismObject<O> resolve(PrismReferenceValue refVal, String string, GetOperationOptions options, Task task, OperationResult result) throws ObjectNotFoundException
ObjectNotFoundException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> T getObjectSimple(Class<T> clazz, String oid, GetOperationOptions options, Task task, OperationResult result) throws ObjectNotFoundException
ObjectNotFoundException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> T getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public <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
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> Integer countObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> getSystemConfiguration(OperationResult result) throws ObjectNotFoundException, SchemaException
Copyright © 2016 evolveum. All rights reserved.