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

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

@Component
public class ContextLoader
extends Object

Context loader loads the missing parts of the context. The context enters the projector with just the minimum information. Context loader gets missing data such as accounts. It gets them from the repository or provisioning as necessary. It follows the account links in user (accountRef) and user deltas.

Author:
Radovan Semancik

Constructor Summary
ContextLoader()
           
 
Method Summary
<F extends ObjectType,P extends ObjectType>
void
determineFocusContext(LensContext<F,P> context, OperationResult result)
          try to load focus context from the projections, e.g.
<F extends ObjectType,P extends ObjectType>
void
load(LensContext<F,P> context, String activityDescription, OperationResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextLoader

public ContextLoader()
Method Detail

load

public <F extends ObjectType,P extends ObjectType> void load(LensContext<F,P> context,
                                                             String activityDescription,
                                                             OperationResult result)
          throws SchemaException,
                 ObjectNotFoundException,
                 CommunicationException,
                 ConfigurationException,
                 SecurityViolationException
Throws:
SchemaException
ObjectNotFoundException
CommunicationException
ConfigurationException
SecurityViolationException

determineFocusContext

public <F extends ObjectType,P extends ObjectType> void determineFocusContext(LensContext<F,P> context,
                                                                              OperationResult result)
                           throws ObjectNotFoundException,
                                  SchemaException
try to load focus context from the projections, e.g. by determining account owners

Throws:
ObjectNotFoundException
SchemaException


Copyright © 2013 evolveum. All Rights Reserved.