Class AssignmentEvaluator<AH extends AssignmentHolderType>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.AssignmentEvaluator<AH>
-
public class AssignmentEvaluator<AH extends AssignmentHolderType> extends Object
An engine that creates EvaluatedAssignment from an assignment IDI. It collects induced roles, constructions, authorizations, policy rules, and so on.- Author:
- semancik
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssignmentEvaluator.Builder<AH extends AssignmentHolderType>
-
Method Summary
-
-
-
Method Detail
-
getRepository
public RepositoryService getRepository()
-
getFocusOdo
public ObjectDeltaObject<AH> getFocusOdo()
-
getLensContext
public LensContext<AH> getLensContext()
-
getChannel
public String getChannel()
-
getObjectResolver
public ObjectResolver getObjectResolver()
-
getSystemObjectCache
public SystemObjectCache getSystemObjectCache()
-
getPrismContext
public PrismContext getPrismContext()
-
getMappingFactory
public MappingFactory getMappingFactory()
-
getActivationComputer
public ActivationComputer getActivationComputer()
-
getNow
public XMLGregorianCalendar getNow()
-
isLoginMode
public boolean isLoginMode()
-
getSystemConfiguration
public PrismObject<SystemConfigurationType> getSystemConfiguration()
-
getMappingEvaluator
public MappingEvaluator getMappingEvaluator()
-
reset
public void reset(boolean alsoMemberOfInvocations)
-
evaluate
public EvaluatedAssignmentImpl<AH> evaluate(ItemDeltaItem<PrismContainerValue<AssignmentType>,PrismContainerDefinition<AssignmentType>> assignmentIdi, PlusMinusZero primaryAssignmentMode, boolean evaluateOld, ObjectType source, String sourceDescription, boolean forcedAssignment, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException, PolicyViolationException, SecurityViolationException, ConfigurationException, CommunicationException
evaluateOld: If true, we take the 'old' value from assignmentIdi. If false, we take the 'new' one.
-
evaluateCondition
public PrismValueDeltaSetTriple<PrismPropertyValue<Boolean>> evaluateCondition(MappingType condition, ObjectType source, AssignmentPathVariables assignmentPathVariables, String contextDescription, com.evolveum.midpoint.model.impl.lens.AssignmentEvaluator.EvaluationContext ctx, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, CommunicationException
-
isMemberOf
public boolean isMemberOf(String targetOid)
-
isMemberOfInvocationResultChanged
public boolean isMemberOfInvocationResultChanged(DeltaSetTriple<EvaluatedAssignmentImpl<AH>> evaluatedAssignmentTriple)
-
-