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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProjectionChange
(ProjectionContextKey key, ObjectDelta<ShadowType> primaryDelta) clone()
debugDump
(int indent) static <T extends ObjectType>
ObjectTreeDeltas<T>fromObjectTreeDeltasType
(ObjectTreeDeltasType deltasType) List<ObjectDelta<? extends ObjectType>>
boolean
isEmpty()
static boolean
isEmpty
(ObjectTreeDeltasType deltas) void
merge
(ObjectTreeDeltas<T> deltasToMerge) static <T extends ObjectType>
ObjectTreeDeltasTypemergeDeltas
(ObjectTreeDeltasType deltaTree, ObjectDeltaType deltaToMerge) void
mergeUnordered
(ObjectTreeDeltas<T> deltasToMerge) void
setFocusChange
(ObjectDelta<T> focusChange) boolean
subtractFromFocusDelta
(@NotNull ItemPath itemPath, @NotNull PrismValue value, boolean fromMinus, boolean dryRun) static ObjectTreeDeltasType
toObjectTreeDeltasType
(ObjectTreeDeltas<?> objectTreeDeltas) static String
toObjectTreeDeltasTypeXml
(ObjectTreeDeltas<?> objectTreeDeltas) static String
toObjectTreeDeltasTypeXml
(ObjectTreeDeltasType objectTreeDeltasType) toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
debugDump
in interfaceDebugDumpable
-
merge
- Throws:
SchemaException
-
mergeUnordered
- Throws:
SchemaException
-
mergeDeltas
public static <T extends ObjectType> ObjectTreeDeltasType mergeDeltas(ObjectTreeDeltasType deltaTree, ObjectDeltaType deltaToMerge) throws SchemaException - Throws:
SchemaException
-