Class ContextFactory
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.ContextFactory
-
@Component public class ContextFactory extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description ContextFactory()
-
Method Summary
-
-
-
Method Detail
-
createContext
public <F extends ObjectType> LensContext<F> createContext(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
createRecomputeContext
public <F extends ObjectType,O extends ObjectType> LensContext<F> createRecomputeContext(PrismObject<O> object, ModelExecuteOptions options, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
createRecomputeFocusContext
public <F extends ObjectType> LensContext<F> createRecomputeFocusContext(Class<F> focusType, PrismObject<F> focus, ModelExecuteOptions options, Task task, OperationResult result)
-
createRecomputeProjectionContext
public <F extends ObjectType> LensContext<F> createRecomputeProjectionContext(PrismObject<ShadowType> shadow, ModelExecuteOptions options, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
createSyncContext
public <F extends ObjectType> LensContext<F> createSyncContext(Class<F> focusClass, ResourceObjectShadowChangeDescription change)
Creates empty lens context for synchronization purposes, filling in only the very basic metadata (such as channel).
-
determineFocusClass
public static <F extends ObjectType> Class<F> determineFocusClass()
-
isFocalClass
public static <T extends ObjectType> boolean isFocalClass(Class<T> aClass)
-
isProjectionClass
public boolean isProjectionClass(Class<? extends ObjectType> aClass)
-
-