Class ContainerTableDeltaProcessor<T extends Containerable,Q extends QContainer<R,OR>,R extends MContainer,OQ extends FlexibleRelationalPathBase<OR>,OR>
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ContainerTableDeltaProcessor<T,Q,R,OQ,OR>
- Type Parameters:
T- schema type for containerQ- query type for container tableR- row type for container table, related toContainerTableDeltaProcessorOQ- query type of the table owning this containerOR- row type of the table owning this container, related toContainerTableDeltaProcessor
- All Implemented Interfaces:
ItemDeltaProcessor
public class ContainerTableDeltaProcessor<T extends Containerable,Q extends QContainer<R,OR>,R extends MContainer,OQ extends FlexibleRelationalPathBase<OR>,OR>
extends ItemDeltaValueProcessor<T>
Delta value processor for multi-value containers stored in separate tables.
-
Constructor Summary
ConstructorsConstructorDescriptionContainerTableDeltaProcessor(@NotNull SqaleUpdateContext<?, OQ, OR> context, @NotNull QContainerMapping<T, Q, R, OR> containerTableMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRealValue(T container) voidaddValues(Collection<T> values) voiddelete()Resets the database columns or deletes sub-entities like refs, containers, etc.protected voiddeleteRealValue(T realValue) voiddeleteValues(Collection<T> values) protected QContainerMapping<T,Q, R, OR> protected SqaleUpdateContext<?,OQ, OR> protected booleanMethods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, convertRealValue, deleteRealValues, modifyRealValue, process, setRealValues
-
Constructor Details
-
ContainerTableDeltaProcessor
public ContainerTableDeltaProcessor(@NotNull @NotNull SqaleUpdateContext<?, OQ, OR> context, @NotNull @NotNull QContainerMapping<T, Q, R, OR> containerTableMapping)
-
-
Method Details
-
addValues
- Overrides:
addValuesin classItemDeltaValueProcessor<T extends Containerable>- Throws:
SchemaException
-
addRealValue
- Overrides:
addRealValuein classItemDeltaValueProcessor<T extends Containerable>- Throws:
SchemaException
-
deleteRealValue
- Overrides:
deleteRealValuein classItemDeltaValueProcessor<T extends Containerable>
-
deleteValues
- Overrides:
deleteValuesin classItemDeltaValueProcessor<T extends Containerable>
-
delete
public 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 classItemDeltaValueProcessor<T extends Containerable>
-
getContainerTableMapping
-
getContext
-
useRealDeltaApplyResults
protected boolean useRealDeltaApplyResults()- Overrides:
useRealDeltaApplyResultsin classItemDeltaValueProcessor<T extends Containerable>
-