Interface ModelProjectionContext
-
- All Superinterfaces:
DebugDumpable
,ModelElementContext<ShadowType>
,Serializable
public interface ModelProjectionContext extends ModelElementContext<ShadowType>
- Author:
- semancik
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description CompositeObjectDefinition
getCompositeObjectDefinition()
Collection<ResourceObjectTypeDependencyType>
getDependencies()
Dependencies returned are "almost complete": resource OID and kind are non-null.ObjectDelta<ShadowType>
getExecutableDelta()
Returns delta suitable for execution.@NotNull ProjectionContextKey
getKey()
ResourceType
getResource()
ObjectDelta<ShadowType>
getSyncDelta()
Returns synchronization delta.SynchronizationIntent
getSynchronizationIntent()
Initial intent regarding the account.SynchronizationPolicyDecision
getSynchronizationPolicyDecision()
Decision regarding the account.boolean
isExists()
boolean
isFullShadow()
boolean
isGone()
Boolean
isLegal()
default boolean
isTombstone()
Deprecated.void
setSyncDelta(ObjectDelta<ShadowType> syncDelta)
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.model.api.context.ModelElementContext
addToPrimaryDelta, getArchetype, getArchetypes, getCurrentDelta, getExecutedDeltas, getMatchingEventMarks, getModelContext, getObjectAny, getObjectCurrent, getObjectNew, getObjectNewOrCurrentOrOld, getObjectOld, getObjectOldOrCurrent, getObjectPolicyRules, getObjectTypeClass, getOid, getPrimaryDelta, getSecondaryDelta, getSummaryDelta, getSummarySecondaryDelta, isAdd, isDelete, isOfType, setPrimaryDelta
-
-
-
-
Method Detail
-
getSyncDelta
ObjectDelta<ShadowType> getSyncDelta()
Returns synchronization delta. Synchronization delta describes changes that have recently happened. MidPoint reacts to these changes by "pulling them in" (e.g. using them in inbound mappings).
-
setSyncDelta
void setSyncDelta(ObjectDelta<ShadowType> syncDelta)
-
getKey
@NotNull @NotNull ProjectionContextKey getKey()
-
getSynchronizationIntent
SynchronizationIntent getSynchronizationIntent()
Initial intent regarding the account. It indicates what the initiator of the operation _wants to do_ with the context. If set to null then the decision is left to "the engine". Null is also a typical value when the context is created. It may be pre-set under some circumstances, e.g. if an account is being unlinked.
-
getSynchronizationPolicyDecision
SynchronizationPolicyDecision getSynchronizationPolicyDecision()
Decision regarding the account. It describes the overall situation of the account e.g. whether account is added, is to be deleted, unliked, etc. If set to null no decision was made yet. Null is also a typical value when the context is created.- See Also:
SynchronizationPolicyDecision
-
getExecutableDelta
ObjectDelta<ShadowType> getExecutableDelta() throws SchemaException, ConfigurationException
Returns delta suitable for execution. The primary and secondary deltas may not make complete sense all by themselves. E.g. they may both be MODIFY deltas even in case that the account should be created. The deltas begin to make sense only if combined with sync decision. This method provides the deltas all combined and ready for execution.
-
isFullShadow
boolean isFullShadow()
-
isLegal
Boolean isLegal()
-
isExists
boolean isExists()
-
isGone
boolean isGone()
-
isTombstone
@Deprecated default boolean isTombstone()
Deprecated.
-
getDependencies
Collection<ResourceObjectTypeDependencyType> getDependencies() throws SchemaException, ConfigurationException
Dependencies returned are "almost complete": resource OID and kind are non-null. Intent may be null; in that case, the default value has to be used. TODO decide what to return if the dependency configuration cannot be obtained; currently it's an empty list
-
getCompositeObjectDefinition
CompositeObjectDefinition getCompositeObjectDefinition() throws SchemaException, ConfigurationException
-
getResource
ResourceType getResource()
-
-