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 Instance Methods Concrete Methods Modifier and Type Method Description <F extends ObjectType>
LensContext<F>createContext(@NotNull Collection<ObjectDelta<? extends ObjectType>> deltas, @Nullable ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result)
Creates aLensContext
from a set of deltas (to be executed or previewed).<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>createSyncContext(Class<F> focusClass, ResourceObjectShadowChangeDescription change)
Creates empty lens context for synchronization purposes, filling in only the very basic metadata (such as channel).
-
-
-
Method Detail
-
createContext
public <F extends ObjectType> LensContext<F> createContext(@NotNull @NotNull Collection<ObjectDelta<? extends ObjectType>> deltas, @Nullable @Nullable ModelExecuteOptions options, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException
Creates aLensContext
from a set of deltas (to be executed or previewed).
-
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
-
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).
-
-