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 SummaryFields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessorcontext
- 
Constructor SummaryConstructorsConstructorDescriptionExtensionContainerDeltaProcessor(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 SummaryMethods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessorgetAnyValue, process, setRealValuesMethods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessoraddRealValues, addValues, convertRealValue, deleteRealValues, deleteValues
- 
Constructor Details- 
ExtensionContainerDeltaProcessorpublic 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 container
- OQ- query type of the owner entity
- OR- type of the owner row
 
 
- 
- 
Method Details- 
setValueSets the values for items in the PCV that are mapped to database columns and nulls the rest.- Specified by:
- setValuein class- ItemDeltaSingleValueProcessor<T extends Containerable>
- Throws:
- SchemaException
 
- 
deletepublic void delete()Description copied from class:ItemDeltaValueProcessorResets 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:
- deletein class- ItemDeltaValueProcessor<T extends Containerable>
 
 
-