Class ExtensionContainerDeltaProcessor<T extends Containerable>
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ExtensionContainerDeltaProcessor<T>
- Type Parameters:
T
- type of the processed container (target)
- All Implemented Interfaces:
ItemDeltaProcessor
public class ExtensionContainerDeltaProcessor<T extends Containerable>
extends ItemDeltaSingleValueProcessor<T>
Delta processor for extension container stored as a single JSONB column.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
Constructor Summary
ConstructorDescriptionExtensionContainerDeltaProcessor
(SqaleUpdateContext<OS, OQ, OR> context, @NotNull ExtensionMapping<OQ, OR> mapping, @NotNull Function<OQ, JsonbPath> rootToExtensionPath) Constructs the delta processor, here we care about type match for parameters, later we don't. -
Method Summary
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor
getAnyValue, process, setRealValues
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValue, addRealValues, addValues, convertRealValue, deleteRealValue, deleteRealValues, deleteValues, modifyRealValue, useRealDeltaApplyResults
-
Constructor Details
-
ExtensionContainerDeltaProcessor
public ExtensionContainerDeltaProcessor(SqaleUpdateContext<OS, OQ, OR> context, @NotNull @NotNull ExtensionMapping<OQ, OR> mapping, @NotNull @NotNull Function<OQ, JsonbPath> rootToExtensionPath) Constructs the delta processor, here we care about type match for parameters, later we don't.- Type Parameters:
OS
- schema type of the owner of the embedded containerOQ
- query type of the owner entityOR
- type of the owner row
-
-
Method Details
-
setValue
Sets the values for items in the PCV that are mapped to database columns and nulls the rest.- Specified by:
setValue
in classItemDeltaSingleValueProcessor<T extends Containerable>
- Throws:
SchemaException
-
delete
public void delete()Description copied from class:ItemDeltaValueProcessor
Resets the database columns or deletes sub-entities like refs, containers, etc. This must be implemented to support clearing the columns of single-value embedded containers.- Specified by:
delete
in classItemDeltaValueProcessor<T extends Containerable>
-