com.evolveum.midpoint.model.lens.projector
Class AccountValuesProcessor

java.lang.Object
  extended by com.evolveum.midpoint.model.lens.projector.AccountValuesProcessor

@Component
public class AccountValuesProcessor
extends Object

Processor that determines values of account attributes. It does so by taking the pre-processed information left behind by the assignment processor. It also does some checks, such as check of identifier uniqueness. It tries to do several iterations over the value computations if a conflict is found (and this feature is enabled).

Author:
Radovan Semancik

Constructor Summary
AccountValuesProcessor()
           
 
Method Summary
 void checkSchemaAndPolicies(LensContext<UserType,AccountShadowType> context, LensProjectionContext<AccountShadowType> accountContext, String activityDescription, OperationResult result)
          Check that the primary deltas do not violate schema and policies TODO: implement schema check
<F extends ObjectType,P extends ObjectType>
void
process(LensContext<F,P> context, LensProjectionContext<P> projectionContext, String activityDescription, OperationResult result)
           
 void processAccounts(LensContext<UserType,AccountShadowType> context, LensProjectionContext<AccountShadowType> accountContext, String activityDescription, OperationResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountValuesProcessor

public AccountValuesProcessor()
Method Detail

process

public <F extends ObjectType,P extends ObjectType> void process(LensContext<F,P> context,
                                                                LensProjectionContext<P> projectionContext,
                                                                String activityDescription,
                                                                OperationResult result)
             throws SchemaException,
                    ExpressionEvaluationException,
                    ObjectNotFoundException,
                    ObjectAlreadyExistsException,
                    CommunicationException,
                    ConfigurationException,
                    SecurityViolationException,
                    PolicyViolationException
Throws:
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
ObjectAlreadyExistsException
CommunicationException
ConfigurationException
SecurityViolationException
PolicyViolationException

processAccounts

public void processAccounts(LensContext<UserType,AccountShadowType> context,
                            LensProjectionContext<AccountShadowType> accountContext,
                            String activityDescription,
                            OperationResult result)
                     throws SchemaException,
                            ExpressionEvaluationException,
                            ObjectNotFoundException,
                            ObjectAlreadyExistsException,
                            CommunicationException,
                            ConfigurationException,
                            SecurityViolationException,
                            PolicyViolationException
Throws:
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
ObjectAlreadyExistsException
CommunicationException
ConfigurationException
SecurityViolationException
PolicyViolationException

checkSchemaAndPolicies

public void checkSchemaAndPolicies(LensContext<UserType,AccountShadowType> context,
                                   LensProjectionContext<AccountShadowType> accountContext,
                                   String activityDescription,
                                   OperationResult result)
                            throws SchemaException,
                                   PolicyViolationException
Check that the primary deltas do not violate schema and policies TODO: implement schema check

Throws:
SchemaException
PolicyViolationException


Copyright © 2013 evolveum. All Rights Reserved.