Class AssociationFromLinkExpressionEvaluator
java.lang.Object
com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<ShadowAssociationValue,ShadowAssociationDefinition,AssociationFromLinkExpressionEvaluatorType>
com.evolveum.midpoint.model.common.expression.evaluator.AssociationFromLinkExpressionEvaluator
- All Implemented Interfaces:
ExpressionEvaluator<ShadowAssociationValue>
public class AssociationFromLinkExpressionEvaluator
extends AbstractExpressionEvaluator<ShadowAssociationValue,ShadowAssociationDefinition,AssociationFromLinkExpressionEvaluatorType>
Creates
ShadowAssociationValues 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.- Author:
- Radovan Semancik
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
expressionEvaluatorBean, outputDefinition, prismContext, protector -
Method Summary
Modifier and TypeMethodDescriptionevaluate(ExpressionEvaluationContext context, OperationResult result) Executes the evaluation in a given context.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, getProtectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.common.expression.ExpressionEvaluator
doesVetoTargetValueRemoval
-
Method Details
-
evaluate
public PrismValueDeltaSetTriple<ShadowAssociationValue> evaluate(ExpressionEvaluationContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException Description copied from interface:ExpressionEvaluatorExecutes 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:
SchemaExceptionExpressionEvaluationExceptionObjectNotFoundExceptionCommunicationExceptionConfigurationExceptionSecurityViolationException
-
shortDebugDump
Description copied from interface:ExpressionEvaluatorShort characterization of the evaluator. One line, often only a single word.
-