Interface ModelProjectionContext
-
- All Superinterfaces:
DebugDumpable
,ModelElementContext<ShadowType>
,Serializable
- All Known Implementing Classes:
LensProjectionContext
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 ObjectDelta<ShadowType>
getExecutableDelta()
Returns delta suitable for execution.ResourceShadowDiscriminator
getResourceShadowDiscriminator()
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, getObjectAny, getObjectCurrent, getObjectNew, getObjectOld, 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)
-
getResourceShadowDiscriminator
ResourceShadowDiscriminator getResourceShadowDiscriminator()
-
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
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.- Throws:
SchemaException
-
isFullShadow
boolean isFullShadow()
-
isLegal
Boolean isLegal()
-
isExists
boolean isExists()
-
isGone
boolean isGone()
-
isTombstone
@Deprecated default boolean isTombstone()
Deprecated.
-
-