Class SimplePreInboundsContextImpl<F extends FocusType>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.SimplePreInboundsContextImpl<F>
-
- All Implemented Interfaces:
PreInboundsContext<F>
,ResourceObjectProcessingContext
,DebugDumpable
public class SimplePreInboundsContextImpl<F extends FocusType> extends Object implements PreInboundsContext<F>
Minimalistic context needed to evaluate inbound mappings outside of bothLensContext
andSynchronizationContext
. It is used e.g. when a correlation is invoked as part ofMidpointFunctions.findCandidateOwners(Class, ShadowType, String, ShadowKindType, String)
orCorrelationServiceImpl.checkCandidateOwner(ShadowType, ResourceType, SynchronizationPolicy, FocusType, Task, OperationResult)
method call.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SimplePreInboundsContextImpl(@NotNull ShadowType shadowedResourceObject, @NotNull ResourceType resource, F preFocus, @Nullable SystemConfigurationType systemConfiguration, @NotNull Task task, @NotNull ResourceObjectTypeDefinition objectTypeDefinition, @NotNull ModelBeans beans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
@Nullable String
getArchetypeOid()
Returns the archetype OID bound to the object type.@NotNull ModelBeans
getBeans()
Useful Spring beans.String
getChannel()
Returns the channel relevant to the current operation.@NotNull ResourceObjectDefinition
getObjectDefinitionRequired()
F
getPreFocus()
@NotNull ResourceType
getResource()
@Nullable ObjectDelta<ShadowType>
getResourceObjectDelta()
@NotNull ShadowType
getShadowedResourceObject()
Returns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME@Nullable SystemConfigurationType
getSystemConfiguration()
@NotNull Task
getTask()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.PreInboundsContext
getPreFocusAsPrismObject
-
Methods inherited from interface com.evolveum.midpoint.model.impl.ResourceObjectProcessingContext
createDefaultVariablesMap, createVariablesMap
-
-
-
-
Constructor Detail
-
SimplePreInboundsContextImpl
public SimplePreInboundsContextImpl(@NotNull @NotNull ShadowType shadowedResourceObject, @NotNull @NotNull ResourceType resource, @NotNull F preFocus, @Nullable @Nullable SystemConfigurationType systemConfiguration, @NotNull @NotNull Task task, @NotNull @NotNull ResourceObjectTypeDefinition objectTypeDefinition, @NotNull @NotNull ModelBeans beans)
-
-
Method Detail
-
getShadowedResourceObject
@NotNull public @NotNull ShadowType getShadowedResourceObject()
Description copied from interface:ResourceObjectProcessingContext
Returns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME- Specified by:
getShadowedResourceObject
in interfaceResourceObjectProcessingContext
-
getPreFocus
@NotNull public F getPreFocus()
- Specified by:
getPreFocus
in interfacePreInboundsContext<F extends FocusType>
-
getResourceObjectDelta
@Nullable public @Nullable ObjectDelta<ShadowType> getResourceObjectDelta()
- Specified by:
getResourceObjectDelta
in interfacePreInboundsContext<F extends FocusType>
- Specified by:
getResourceObjectDelta
in interfaceResourceObjectProcessingContext
-
getSystemConfiguration
@Nullable public @Nullable SystemConfigurationType getSystemConfiguration()
- Specified by:
getSystemConfiguration
in interfaceResourceObjectProcessingContext
-
getTask
@NotNull public @NotNull Task getTask()
- Specified by:
getTask
in interfaceResourceObjectProcessingContext
-
getBeans
@NotNull public @NotNull ModelBeans getBeans()
Description copied from interface:ResourceObjectProcessingContext
Useful Spring beans.- Specified by:
getBeans
in interfaceResourceObjectProcessingContext
-
getResource
@NotNull public @NotNull ResourceType getResource()
- Specified by:
getResource
in interfaceResourceObjectProcessingContext
-
getObjectDefinitionRequired
@NotNull public @NotNull ResourceObjectDefinition getObjectDefinitionRequired()
- Specified by:
getObjectDefinitionRequired
in interfacePreInboundsContext<F extends FocusType>
-
getArchetypeOid
@Nullable public @Nullable String getArchetypeOid()
Description copied from interface:PreInboundsContext
Returns the archetype OID bound to the object type. Archetypes determined from the focus itself are not returned here.- Specified by:
getArchetypeOid
in interfacePreInboundsContext<F extends FocusType>
-
getChannel
public String getChannel()
Description copied from interface:ResourceObjectProcessingContext
Returns the channel relevant to the current operation. It may be a channel fromResourceObjectShadowChangeDescription
or from a task.- Specified by:
getChannel
in interfaceResourceObjectProcessingContext
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-