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

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

@Component
public class Projector
extends Object

Projector recomputes the context. It takes the context with a few basic data as input. It uses all the policies and mappings to derive all the other data. E.g. a context with only a user (primary) delta. It applies user template, outbound mappings and the inbound mappings and then inbound and outbound mappings of other accounts and so on until all the data are computed. The output is the original context with all the computed delta. Primary deltas are in the input, secondary deltas are computed in projector. Projector "projects" primary deltas to the secondary deltas of user and accounts. Projector does NOT execute the deltas. It only recomputes the context. It may read a lot of objects (user, accounts, policies). But it does not change any of them.

Author:
Radovan Semancik

Constructor Summary
Projector()
           
 
Method Summary
<F extends ObjectType,P extends ObjectType>
void
project(LensContext<F,P> context, String activityDescription, OperationResult parentResult)
           
<F extends ObjectType,P extends ObjectType>
void
sortAccountsToWaves(LensContext<F,P> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Projector

public Projector()
Method Detail

project

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

sortAccountsToWaves

public <F extends ObjectType,P extends ObjectType> void sortAccountsToWaves(LensContext<F,P> context)
                         throws PolicyViolationException
Throws:
PolicyViolationException


Copyright © 2013 evolveum. All Rights Reserved.