Class RefTableItemDeltaProcessor<Q extends QReference<?,OR>,OQ extends FlexibleRelationalPathBase<OR>,OR>
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<ObjectReferenceType>
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<ObjectReferenceType>
Delta value processor for multi-value references stored in separate tables.
-
Constructor Summary
ConstructorsConstructorDescriptionRefTableItemDeltaProcessor(SqaleUpdateContext<?, OQ, OR> context, QReferenceMapping<Q, ?, OQ, OR> refTableMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValues(Collection<ObjectReferenceType> values) voiddelete()Resets the database columns or deletes sub-entities like refs, containers, etc.voiddeleteValues(Collection<ObjectReferenceType> values) Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, convertRealValue, deleteRealValues, process, setRealValues
-
Constructor Details
-
RefTableItemDeltaProcessor
public RefTableItemDeltaProcessor(SqaleUpdateContext<?, OQ, OR> context, QReferenceMapping<Q, ?, OQ, OR> refTableMapping)
-
-
Method Details
-
addValues
- Overrides:
addValuesin classItemDeltaValueProcessor<ObjectReferenceType>- Throws:
SchemaException
-
deleteValues
- Overrides:
deleteValuesin classItemDeltaValueProcessor<ObjectReferenceType>
-
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<ObjectReferenceType>
-