Class RefItemDeltaProcessor
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor<ObjectReferenceType>
com.evolveum.midpoint.repo.sqale.delta.item.RefItemDeltaProcessor
- All Implemented Interfaces:
ItemDeltaProcessor
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
Constructor Summary
ConstructorDescriptionRefItemDeltaProcessor
(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
Modifier and TypeMethodDescriptionvoid
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
setValue
(ObjectReferenceType 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
addRealValue, addRealValues, addValues, convertRealValue, deleteRealValue, deleteRealValues, deleteValues, modifyRealValue, useRealDeltaApplyResults
-
Constructor Details
-
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 Details
-
setValue
Description copied from class:ItemDeltaSingleValueProcessor
Sets the database columns to reflect the provided value (converted if necessary).- Specified by:
setValue
in classItemDeltaSingleValueProcessor<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>
-