Interface ModelProjectionContext

All Superinterfaces:
DebugDumpable, ModelElementContext<ShadowType>, Serializable
All Known Implementing Classes:
LensProjectionContext

public interface ModelProjectionContext extends ModelElementContext<ShadowType>
Author:
semancik
  • Method Details

    • 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:
    • getExecutableDelta

      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
      ConfigurationException
    • isFullShadow

      boolean isFullShadow()
    • isLegal

      Boolean isLegal()
    • isExists

      boolean isExists()
    • isGone

      boolean isGone()
    • isTombstone

      @Deprecated default boolean isTombstone()
      Deprecated.
    • getDependencies

      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
      Throws:
      SchemaException
      ConfigurationException
    • getCompositeObjectDefinition

      CompositeObjectDefinition getCompositeObjectDefinition() throws SchemaException, ConfigurationException
      Throws:
      SchemaException
      ConfigurationException
    • getResource

      ResourceType getResource()