Class AssociationTargetSearchExpressionEvaluator
- 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<PrismContainerValue<ShadowAssociationType>,ShadowType,PrismContainerDefinition<ShadowAssociationType>,SearchObjectExpressionEvaluatorType>
-
- com.evolveum.midpoint.model.common.expression.evaluator.AssociationTargetSearchExpressionEvaluator
-
- All Implemented Interfaces:
ExpressionEvaluator<PrismContainerValue<ShadowAssociationType>>
public class AssociationTargetSearchExpressionEvaluator extends AbstractSearchExpressionEvaluator<PrismContainerValue<ShadowAssociationType>,ShadowType,PrismContainerDefinition<ShadowAssociationType>,SearchObjectExpressionEvaluatorType>
Creates an association (or associations) based on specified condition for the associated object.- Author:
- Radovan Semancik
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator
cacheConfigurationManager
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrismContainerValue<ShadowAssociationType>
createPrismValue(String oid, QName targetTypeQName, List<ItemDelta<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>>> additionalAttributeDeltas, ExpressionEvaluationContext params)
protected void
extendOptions(Collection<SelectorOptions<GetOperationOptions>> options, boolean searchOnResource)
protected ObjectQuery
extendQuery(ObjectQuery query, ExpressionEvaluationContext params)
protected AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,ShadowType,?,?>
getCache()
protected Class<?>
getCacheClass()
protected CacheType
getCacheType()
protected QName
getDefaultTargetType()
protected boolean
isAcceptable(@NotNull PrismObject<ShadowType> object)
Provides additional filtering e.g.String
shortDebugDump()
Short characterization of the evaluator.-
Methods inherited from class com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator
isIncludeNullInputs, transformSingleValue
-
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
-
-
-
-
Method Detail
-
getCache
protected AbstractSearchExpressionEvaluatorCache<PrismContainerValue<ShadowAssociationType>,ShadowType,?,?> getCache()
-
getCacheClass
protected Class<?> getCacheClass()
-
getCacheType
protected CacheType getCacheType()
-
extendQuery
protected ObjectQuery extendQuery(ObjectQuery query, ExpressionEvaluationContext params) throws ExpressionEvaluationException
-
extendOptions
protected void extendOptions(Collection<SelectorOptions<GetOperationOptions>> options, boolean searchOnResource)
-
isAcceptable
protected boolean isAcceptable(@NotNull @NotNull PrismObject<ShadowType> object)
Description copied from class:AbstractSearchExpressionEvaluator
Provides additional filtering e.g. rejecting dead shadows as association targets.
-
createPrismValue
protected PrismContainerValue<ShadowAssociationType> createPrismValue(String oid, QName targetTypeQName, List<ItemDelta<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>>> additionalAttributeDeltas, ExpressionEvaluationContext params)
-
getDefaultTargetType
protected QName getDefaultTargetType()
-
shortDebugDump
public String shortDebugDump()
Description copied from interface:ExpressionEvaluator
Short characterization of the evaluator. One line, often only a single word.- Specified by:
shortDebugDump
in interfaceExpressionEvaluator<PrismContainerValue<ShadowAssociationType>>
- Overrides:
shortDebugDump
in classAbstractSearchExpressionEvaluator<PrismContainerValue<ShadowAssociationType>,ShadowType,PrismContainerDefinition<ShadowAssociationType>,SearchObjectExpressionEvaluatorType>
-
-