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
ConstructorDescriptionRefTableItemDeltaProcessor
(SqaleUpdateContext<?, OQ, OR> context, QReferenceMapping<Q, ?, OQ, OR> refTableMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValues
(Collection<ObjectReferenceType> values) void
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
deleteValues
(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:
addValues
in classItemDeltaValueProcessor<ObjectReferenceType>
- Throws:
SchemaException
-
deleteValues
- Overrides:
deleteValues
in classItemDeltaValueProcessor<ObjectReferenceType>
-
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<ObjectReferenceType>
-