Class RefItemDeltaProcessor
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
-
- com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor<Referencable>
-
- com.evolveum.midpoint.repo.sqale.delta.item.RefItemDeltaProcessor
-
- All Implemented Interfaces:
ItemDeltaProcessor
public class RefItemDeltaProcessor extends ItemDeltaSingleValueProcessor<Referencable>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
-
Constructor Summary
Constructors Constructor Description RefItemDeltaProcessor(SqaleUpdateContext<?,Q,R> context, Function<Q,UuidPath> rootToOidPath, Function<Q,com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, Function<Q,com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
setValue(Referencable value)
Sets the database columns to reflect the provided value (converted if necessary).-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor
getAnyValue, process, setRealValues
-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, addValues, convertRealValue, deleteRealValues, deleteValues
-
-
-
-
Constructor Detail
-
RefItemDeltaProcessor
public RefItemDeltaProcessor(SqaleUpdateContext<?,Q,R> context, Function<Q,UuidPath> rootToOidPath, Function<Q,com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, Function<Q,com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath)
- Type Parameters:
Q
- entity query type from which the attribute is resolvedR
- row type related toRefItemDeltaProcessor
-
-
Method Detail
-
setValue
public void setValue(Referencable value)
Description copied from class:ItemDeltaSingleValueProcessor
Sets the database columns to reflect the provided value (converted if necessary).- Specified by:
setValue
in classItemDeltaSingleValueProcessor<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>
-
-