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>,PrismContainerDefinition<ShadowAssociationType>,SearchObjectExpressionEvaluatorType>
-
- com.evolveum.midpoint.model.common.expression.evaluator.AssociationTargetSearchExpressionEvaluator
-
- All Implemented Interfaces:
ExpressionEvaluator<PrismContainerValue<ShadowAssociationType>>
public class AssociationTargetSearchExpressionEvaluator extends AbstractSearchExpressionEvaluator<PrismContainerValue<ShadowAssociationType>,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
getCache()
protected Class<?>
getCacheClass()
protected CacheType
getCacheType()
protected QName
getDefaultTargetType()
String
shortDebugDump()
Short characterization of the evaluator.-
Methods inherited from class com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator
getModelService, getObjectResolver, 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 getCache()
-
getCacheClass
protected Class<?> getCacheClass()
-
getCacheType
protected CacheType getCacheType()
-
extendQuery
protected ObjectQuery extendQuery(ObjectQuery query, ExpressionEvaluationContext params) throws SchemaException, ExpressionEvaluationException
-
extendOptions
protected void extendOptions(Collection<SelectorOptions<GetOperationOptions>> options, boolean searchOnResource)
-
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>,PrismContainerDefinition<ShadowAssociationType>,SearchObjectExpressionEvaluatorType>
-
-