Class AssociationFromLinkExpressionEvaluator
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>,AssociationFromLinkExpressionEvaluatorType>
-
- com.evolveum.midpoint.model.common.expression.evaluator.AssociationFromLinkExpressionEvaluator
-
- All Implemented Interfaces:
ExpressionEvaluator<PrismContainerValue<ShadowAssociationType>>
public class AssociationFromLinkExpressionEvaluator extends AbstractExpressionEvaluator<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>,AssociationFromLinkExpressionEvaluatorType>
Creates an association (or associations) based on projections of given role. I.e. a role has projection (e.g. group) and it also induces a construction of a user account. Using this expression evaluator the account can obtain groups that are projections of that particular role. To be used in induced constructions only i.e. not in mappings!- Author:
- Radovan Semancik
-
-
Field Summary
-
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 PrismValueDeltaSetTriple<PrismContainerValue<ShadowAssociationType>>
evaluate(ExpressionEvaluationContext context, OperationResult result)
Executes the evaluation in a given context.String
shortDebugDump()
Short characterization of the evaluator.-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
addInternalOrigin, applyValueMetadata, checkEvaluatorProfile, findInSourcesAndVariables, finishOutputTriple, getElementName, getOutputDefinition, getPrismContext, getProtector
-
-
-
-
Method Detail
-
evaluate
public PrismValueDeltaSetTriple<PrismContainerValue<ShadowAssociationType>> evaluate(ExpressionEvaluationContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
Description copied from interface:ExpressionEvaluator
Executes the evaluation in a given context. The context provides necessary data, evaluator provides definition of processing that should be carried out.- Returns:
- Result of the evaluation in the form of delta set triple (i.e. added, deleted, unchanged values).
- Throws:
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
CommunicationException
ConfigurationException
SecurityViolationException
-
shortDebugDump
public String shortDebugDump()
Description copied from interface:ExpressionEvaluator
Short characterization of the evaluator. One line, often only a single word.
-
-