Class AbstractValuePolicyOriginResolver<O extends ObjectType>
- java.lang.Object
-
- com.evolveum.midpoint.model.common.stringpolicy.AbstractValuePolicyOriginResolver<O>
-
- All Implemented Interfaces:
ObjectBasedValuePolicyOriginResolver<O>
,ValuePolicyOriginResolver
- Direct Known Subclasses:
FocusValuePolicyOriginResolver
,ShadowValuePolicyOriginResolver
public abstract class AbstractValuePolicyOriginResolver<O extends ObjectType> extends Object implements ObjectBasedValuePolicyOriginResolver<O>
- Author:
- semancik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PrismObject<O>
getObject()
Returns the object in context of which we are resolving the origin.<R extends ObjectType>
Class<R>getOwnerClass()
abstract ObjectQuery
getOwnerQuery()
<R extends ObjectType>
voidresolve(ProhibitedValueItemType prohibitedValueItem, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result)
Resolves "origin object" in given prohibitedValueItem: calls handler for each origin object found.
-
-
-
Method Detail
-
getObject
public PrismObject<O> getObject()
Description copied from interface:ObjectBasedValuePolicyOriginResolver
Returns the object in context of which we are resolving the origin.- Specified by:
getObject
in interfaceObjectBasedValuePolicyOriginResolver<O extends ObjectType>
-
getOwnerQuery
public abstract ObjectQuery getOwnerQuery()
-
getOwnerClass
public <R extends ObjectType> Class<R> getOwnerClass()
-
resolve
public <R extends ObjectType> void resolve(ProhibitedValueItemType prohibitedValueItem, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
Description copied from interface:ValuePolicyOriginResolver
Resolves "origin object" in given prohibitedValueItem: calls handler for each origin object found.
-
-