Class AbstractSearchExpressionEvaluator<V extends PrismValue,D extends ItemDefinition>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<V,D,E>
-
- com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator<V,D,SearchObjectExpressionEvaluatorType>
-
- com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator<V,D>
-
- All Implemented Interfaces:
ExpressionEvaluator<V,D>
- Direct Known Subclasses:
AssignmentTargetSearchExpressionEvaluator
,AssociationTargetSearchExpressionEvaluator
,ReferenceSearchExpressionEvaluator
public abstract class AbstractSearchExpressionEvaluator<V extends PrismValue,D extends ItemDefinition> extends AbstractValueTransformationExpressionEvaluator<V,D,SearchObjectExpressionEvaluatorType>
- Author:
- Radovan Semancik
-
-
Field Summary
Fields Modifier and Type Field Description protected CacheConfigurationManager
cacheConfigurationManager
-
Fields inherited from class com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator
localizationService, securityContextManager
-
Fields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
outputDefinition, prismContext, protector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract V
createPrismValue(String oid, QName targetTypeQName, List<ItemDelta<V,D>> 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()
protected ModelService
getModelService()
protected ObjectResolver
getObjectResolver()
protected boolean
isIncludeNullInputs()
String
shortDebugDump()
protected List<V>
transformSingleValue(ExpressionVariables variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result)
-
Methods inherited from class com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator
evaluate, getLocalizationService, isRelative
-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
checkEvaluatorProfile, getElementName, getExpressionEvaluatorType, getOutputDefinition, getPrismContext, getProtector
-
-
-
-
Field Detail
-
cacheConfigurationManager
protected CacheConfigurationManager cacheConfigurationManager
-
-
Method Detail
-
getObjectResolver
protected ObjectResolver getObjectResolver()
-
getModelService
protected ModelService getModelService()
-
transformSingleValue
protected List<V> transformSingleValue(ExpressionVariables variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
- Specified by:
transformSingleValue
in classAbstractValueTransformationExpressionEvaluator<V extends PrismValue,D extends ItemDefinition,SearchObjectExpressionEvaluatorType>
- Throws:
ExpressionEvaluationException
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
SecurityViolationException
-
extendQuery
protected ObjectQuery extendQuery(ObjectQuery query, ExpressionEvaluationContext params) throws SchemaException, ExpressionEvaluationException
-
getDefaultTargetType
protected QName getDefaultTargetType()
-
getCache
protected AbstractSearchExpressionEvaluatorCache getCache()
-
getCacheClass
protected Class<?> getCacheClass()
-
getCacheType
protected CacheType getCacheType()
-
extendOptions
protected void extendOptions(Collection<SelectorOptions<GetOperationOptions>> options, boolean searchOnResource)
-
createPrismValue
protected abstract V createPrismValue(String oid, QName targetTypeQName, List<ItemDelta<V,D>> additionalAttributeDeltas, ExpressionEvaluationContext params)
-
isIncludeNullInputs
protected boolean isIncludeNullInputs()
- Overrides:
isIncludeNullInputs
in classAbstractValueTransformationExpressionEvaluator<V extends PrismValue,D extends ItemDefinition,SearchObjectExpressionEvaluatorType>
-
shortDebugDump
public String shortDebugDump()
- Specified by:
shortDebugDump
in interfaceExpressionEvaluator<V extends PrismValue,D extends ItemDefinition>
- Specified by:
shortDebugDump
in classAbstractValueTransformationExpressionEvaluator<V extends PrismValue,D extends ItemDefinition,SearchObjectExpressionEvaluatorType>
-
-