Class RefTableItemDeltaProcessor<Q extends QReference<?,OR>,OQ extends FlexibleRelationalPathBase<OR>,OR>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<Referencable>
-
- com.evolveum.midpoint.repo.sqale.delta.item.RefTableItemDeltaProcessor<Q,OQ,OR>
-
- Type Parameters:
Q
- type of entity path for the reference tableOQ
- query type of the reference ownerOR
- row type of the reference owner (related toRefTableItemDeltaProcessor
)
- All Implemented Interfaces:
ItemDeltaProcessor
public class RefTableItemDeltaProcessor<Q extends QReference<?,OR>,OQ extends FlexibleRelationalPathBase<OR>,OR> extends ItemDeltaValueProcessor<Referencable>
Delta value processor for multi-value references stored in separate tables.
-
-
Constructor Summary
Constructors Constructor Description RefTableItemDeltaProcessor(SqaleUpdateContext<?,OQ,OR> context, QReferenceMapping<Q,?,OQ,OR> refTableMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValues(Collection<Referencable> values)
void
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
deleteValues(Collection<Referencable> values)
-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, convertRealValue, deleteRealValues, process, setRealValues
-
-
-
-
Constructor Detail
-
RefTableItemDeltaProcessor
public RefTableItemDeltaProcessor(SqaleUpdateContext<?,OQ,OR> context, QReferenceMapping<Q,?,OQ,OR> refTableMapping)
-
-
Method Detail
-
addValues
public void addValues(Collection<Referencable> values) throws SchemaException
- Overrides:
addValues
in classItemDeltaValueProcessor<Referencable>
- Throws:
SchemaException
-
deleteValues
public void deleteValues(Collection<Referencable> values)
- Overrides:
deleteValues
in classItemDeltaValueProcessor<Referencable>
-
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<Referencable>
-
-