Package com.evolveum.midpoint.model.api
Class ObjectTreeDeltas<T extends ObjectType>
java.lang.Object
com.evolveum.midpoint.model.api.ObjectTreeDeltas<T>
- All Implemented Interfaces:
DebugDumpable
Structure that contains all primary changes requested: from focus as well as from projections.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProjectionChange(ProjectionContextKey key, ObjectDelta<ShadowType> primaryDelta) clone()debugDump(int indent) static <T extends ObjectType>
ObjectTreeDeltas<T>fromObjectTreeDeltasType(ObjectTreeDeltasType deltasType) List<ObjectDelta<? extends ObjectType>>booleanisEmpty()static booleanisEmpty(ObjectTreeDeltasType deltas) voidmerge(ObjectTreeDeltas<T> deltasToMerge) static <T extends ObjectType>
ObjectTreeDeltasTypemergeDeltas(ObjectTreeDeltasType deltaTree, ObjectDeltaType deltaToMerge) voidmergeUnordered(ObjectTreeDeltas<T> deltasToMerge) voidsetFocusChange(ObjectDelta<T> focusChange) booleansubtractFromFocusDelta(@NotNull ItemPath itemPath, @NotNull PrismValue value, boolean fromMinus, boolean dryRun) static ObjectTreeDeltasTypetoObjectTreeDeltasType(ObjectTreeDeltas<?> objectTreeDeltas) static StringtoObjectTreeDeltasTypeXml(ObjectTreeDeltas<?> objectTreeDeltas) static StringtoObjectTreeDeltasTypeXml(ObjectTreeDeltasType objectTreeDeltasType) toString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
ObjectTreeDeltas
public ObjectTreeDeltas() -
ObjectTreeDeltas
-
-
Method Details
-
getFocusChange
-
getProjectionChange
-
getProjectionChangeMap
-
setFocusChange
-
addProjectionChange
-
isEmpty
public boolean isEmpty() -
isEmpty
-
clone
-
getProjectionChangeMapEntries
-
toObjectTreeDeltasTypeXml
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltas<?> objectTreeDeltas) throws SchemaException - Throws:
SchemaException
-
toObjectTreeDeltasTypeXml
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltasType objectTreeDeltasType) throws SchemaException - Throws:
SchemaException
-
toObjectTreeDeltasType
public static ObjectTreeDeltasType toObjectTreeDeltasType(ObjectTreeDeltas<?> objectTreeDeltas) throws SchemaException - Throws:
SchemaException
-
fromObjectTreeDeltasType
@Contract("null -> null; !null -> !null") public static <T extends ObjectType> ObjectTreeDeltas<T> fromObjectTreeDeltasType(ObjectTreeDeltasType deltasType) throws SchemaException - Throws:
SchemaException
-
getDeltaList
-
subtractFromFocusDelta
public boolean subtractFromFocusDelta(@NotNull @NotNull ItemPath itemPath, @NotNull @NotNull PrismValue value, boolean fromMinus, boolean dryRun) -
toString
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
merge
- Throws:
SchemaException
-
mergeUnordered
- Throws:
SchemaException
-
mergeDeltas
public static <T extends ObjectType> ObjectTreeDeltasType mergeDeltas(ObjectTreeDeltasType deltaTree, ObjectDeltaType deltaToMerge) throws SchemaException - Throws:
SchemaException
-