Interface UpdatableItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>
- Type Parameters:
Q
- entity path owning the mapped itemR
- row type with the mapped item
- All Superinterfaces:
ItemSqlMapper<Q,
R>
- All Known Implementing Classes:
ExtensionItemSqlMapper
,ShadowReferenceAttributesMapper
,SqaleItemSqlMapper
public interface UpdatableItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>
extends ItemSqlMapper<Q,R>
Extension of
ItemSqlMapper
adding update capability (delta processing).-
Method Summary
Modifier and TypeMethodDescriptioncreateItemDeltaProcessor
(SqaleUpdateContext<?, ?, ?> sqlUpdateContext) CreatesItemDeltaProcessor
based on this mapping.Methods inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemSqlMapper
createFilterProcessor, createRightHandProcessor, primaryPath
-
Method Details
-
createItemDeltaProcessor
CreatesItemDeltaProcessor
based on this mapping. ProvidedSqaleUpdateContext
is used to figure out the query paths when this is executed (as the entity path instance is not yet available when the mapping is configured in a declarative manner). The type of the returned processor is adapted to the client code needs for convenience. Also the type of the provided context is flexible, but with proper mapping it's all safe.
-