Interface ModelElementContext<O extends ObjectType>
-
- All Superinterfaces:
DebugDumpable
,Serializable
- All Known Subinterfaces:
ModelProjectionContext
public interface ModelElementContext<O extends ObjectType> extends Serializable, DebugDumpable
- Author:
- semancik
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPrimaryDelta(ObjectDelta<O> value)
ArchetypeType
getArchetype()
ObjectDelta<O>
getDelta()
List<? extends ObjectDeltaOperation>
getExecutedDeltas()
PrismObject<O>
getObjectAny()
PrismObject<O>
getObjectCurrent()
PrismObject<O>
getObjectNew()
PrismObject<O>
getObjectOld()
Class<O>
getObjectTypeClass()
String
getOid()
@NotNull Collection<EvaluatedPolicyRule>
getPolicyRules()
Returns all policy rules that apply to this object - even those that were not triggered.ObjectDelta<O>
getPrimaryDelta()
ObjectDelta<O>
getSecondaryDelta()
SynchronizationIntent
getSynchronizationIntent()
Initial intent regarding the account.boolean
isAdd()
boolean
isDelete()
boolean
isOfType(Class<?> aClass)
void
setObjectNew(PrismObject<O> objectNew)
void
setObjectOld(PrismObject<O> objectOld)
void
setPrimaryDelta(ObjectDelta<O> primaryDelta)
void
setSecondaryDelta(ObjectDelta<O> secondaryDelta)
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getObjectOld
PrismObject<O> getObjectOld()
-
setObjectOld
void setObjectOld(PrismObject<O> objectOld)
-
getObjectNew
PrismObject<O> getObjectNew()
-
getObjectCurrent
PrismObject<O> getObjectCurrent()
-
getObjectAny
PrismObject<O> getObjectAny()
-
setObjectNew
void setObjectNew(PrismObject<O> objectNew)
-
getPrimaryDelta
ObjectDelta<O> getPrimaryDelta()
-
setPrimaryDelta
void setPrimaryDelta(ObjectDelta<O> primaryDelta)
-
addPrimaryDelta
void addPrimaryDelta(ObjectDelta<O> value) throws SchemaException
- Throws:
SchemaException
-
getSecondaryDelta
ObjectDelta<O> getSecondaryDelta()
-
setSecondaryDelta
void setSecondaryDelta(ObjectDelta<O> secondaryDelta)
-
getExecutedDeltas
List<? extends ObjectDeltaOperation> getExecutedDeltas()
-
getOid
String getOid()
-
getPolicyRules
@NotNull @NotNull Collection<EvaluatedPolicyRule> getPolicyRules()
Returns all policy rules that apply to this object - even those that were not triggered. The policy rules are compiled from all the applicable sources (target, meta-roles, etc.)
-
isOfType
boolean isOfType(Class<?> aClass)
-
getSynchronizationIntent
SynchronizationIntent getSynchronizationIntent()
Initial intent regarding the account. It indicated 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.
-
isAdd
boolean isAdd()
-
isDelete
boolean isDelete()
-
getDelta
ObjectDelta<O> getDelta() throws SchemaException
- Throws:
SchemaException
-
getArchetype
ArchetypeType getArchetype()
-
-