Class AbstractSearchExpressionEvaluator<V extends PrismValue,O extends ObjectType,D extends ItemDefinition<?>,E extends SearchObjectExpressionEvaluatorType>
java.lang.Object
com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<V,D,E>
com.evolveum.midpoint.model.common.expression.evaluator.transformation.AbstractValueTransformationExpressionEvaluator<V,D,E>
com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator<V,O,D,E>
- Type Parameters:
V
- "Processed" value we are looking for (e.g.PrismContainerValue
ofShadowAssociationValueType
)O
- "Raw" object type we are searching for to get `V` (e.g.ShadowType
)D
- Definition of `V`E
- type of configuration bean
- All Implemented Interfaces:
ExpressionEvaluator<V>
- Direct Known Subclasses:
ReferenceSearchExpressionEvaluator
public abstract class AbstractSearchExpressionEvaluator<V extends PrismValue,O extends ObjectType,D extends ItemDefinition<?>,E extends SearchObjectExpressionEvaluatorType>
extends AbstractValueTransformationExpressionEvaluator<V,D,E>
Expression evaluator that is based on searching for an object of `O` type meeting specified criteria (like entitlement shadow),
and then converting it into "processed" form (like association value).
- Author:
- Radovan Semancik
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
The actual evaluation process.static final record
The result of the search: both source object, and the value that was created from it. -
Field Summary
Fields inherited from class com.evolveum.midpoint.model.common.expression.evaluator.transformation.AbstractValueTransformationExpressionEvaluator
localizationService, securityContextManager
Fields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
expressionEvaluatorBean, outputDefinition, prismContext, protector
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
transformSingleValue
(@NotNull ValueTransformationContext vtCtx, @NotNull OperationResult result) Transforms single value or single values tuple.Methods inherited from class com.evolveum.midpoint.model.common.expression.evaluator.transformation.AbstractValueTransformationExpressionEvaluator
evaluate, isRelative
Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
addInternalOrigin, applyValueMetadata, checkEvaluatorProfile, findInSourcesAndVariables, finishOutputTriple, getElementName, getOutputDefinition, getPrismContext, getProtector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.common.expression.ExpressionEvaluator
doesVetoTargetValueRemoval, shortDebugDump
-
Field Details
-
cacheConfigurationManager
-
-
Method Details
-
transformSingleValue
@NotNull protected @NotNull List<V> transformSingleValue(@NotNull @NotNull ValueTransformationContext vtCtx, @NotNull @NotNull OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException Description copied from class:AbstractValueTransformationExpressionEvaluator
Transforms single value or single values tuple.- Specified by:
transformSingleValue
in classAbstractValueTransformationExpressionEvaluator<V extends PrismValue,
D extends ItemDefinition<?>, E extends SearchObjectExpressionEvaluatorType> - Throws:
ExpressionEvaluationException
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
SecurityViolationException
-
isIncludeNullInputs
protected boolean isIncludeNullInputs()- Overrides:
isIncludeNullInputs
in classAbstractValueTransformationExpressionEvaluator<V extends PrismValue,
D extends ItemDefinition<?>, E extends SearchObjectExpressionEvaluatorType>
-