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 toContainerTableDeltaProcessor
OQ
- 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
Constructors Constructor Description ContainerTableDeltaProcessor(@NotNull SqaleUpdateContext<?,OQ,OR> context, @NotNull QContainerMapping<T,Q,R,OR> containerTableMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValues(Collection<T> values)
void
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
deleteValues(Collection<T> values)
-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, convertRealValue, deleteRealValues, process, setRealValues
-
-
-
-
Constructor Detail
-
ContainerTableDeltaProcessor
public ContainerTableDeltaProcessor(@NotNull @NotNull SqaleUpdateContext<?,OQ,OR> context, @NotNull @NotNull QContainerMapping<T,Q,R,OR> containerTableMapping)
-
-
Method Detail
-
addValues
public void addValues(Collection<T> values) throws SchemaException
- Overrides:
addValues
in classItemDeltaValueProcessor<T extends Containerable>
- Throws:
SchemaException
-
deleteValues
public void deleteValues(Collection<T> values)
- Overrides:
deleteValues
in classItemDeltaValueProcessor<T extends Containerable>
-
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>
-
-