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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends ObjectType>
LensContext<F>createContext(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
<F extends ObjectType,O extends ObjectType>
LensContext<F>createRecomputeContext(@NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result)
<F extends ObjectType>
LensContext<F>createRecomputeProjectionContext(@NotNull PrismObject<ShadowType> shadow, ModelExecuteOptions options, Task task, OperationResult result)
<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).static <F extends ObjectType>
Class<F>determineFocusClass()
-
-
-
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(@NotNull @NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
createRecomputeProjectionContext
public <F extends ObjectType> LensContext<F> createRecomputeProjectionContext(@NotNull @NotNull 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()
-
-