Class ExtensionUpdateContext<Q extends FlexibleRelationalPathBase<R>,R>
java.lang.Object
com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext<Containerable,Q,R>
com.evolveum.midpoint.repo.sqale.update.ExtensionUpdateContext<Q,R>
- Type Parameters:
Q- entity query type that holds the data for the mapped attributesR- row type related to theExtensionUpdateContext
public class ExtensionUpdateContext<Q extends FlexibleRelationalPathBase<R>,R>
extends SqaleUpdateContext<Containerable,Q,R>
Update context for extension/attributes JSONB column.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext
jdbcSession, logger, parentContext, row, subcontexts -
Constructor Summary
ConstructorsConstructorDescriptionExtensionUpdateContext(SqaleUpdateContext<?, ?, ?> parentContext, ExtensionMapping<Q, R> mapping, JsonbPath jsonbPath) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteItem(String extItemId) Returns entity path (table) for the context.protected voidmapping()<P extends com.querydsl.core.types.Path<T>,T>
voidset(P path, com.querydsl.core.types.Expression<T> value) <P extends com.querydsl.core.types.Path<T>,T>
voidset(P path, T value) voidsetChangedItem(String extItemId, Object value) <P extends com.querydsl.core.types.Path<T>,T>
voidsetNull(P path) Methods inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext
addSubcontext, findValueOrItem, findValueOrItem, finishExecution, getSubcontext, insertOwnedRow, isOverwrittenId, jdbcSession, repositoryContext, row
-
Constructor Details
-
ExtensionUpdateContext
public ExtensionUpdateContext(SqaleUpdateContext<?, ?, ?> parentContext, ExtensionMapping<Q, R> mapping, JsonbPath jsonbPath)
-
-
Method Details
-
entityPath
Description copied from class:SqaleUpdateContextReturns entity path (table) for the context. This is NOT the path for item column, which can be actually multiple columns (ref, poly) or just part of the value in the column (JSONB).- Specified by:
entityPathin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R>
-
mapping
- Specified by:
mappingin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R>
-
set
public <P extends com.querydsl.core.types.Path<T>,T> void set(P path, T value) - Specified by:
setin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R>
-
set
public <P extends com.querydsl.core.types.Path<T>,T> void set(P path, com.querydsl.core.types.Expression<T> value) - Specified by:
setin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R>
-
setNull
public <P extends com.querydsl.core.types.Path<T>,T> void setNull(P path) - Specified by:
setNullin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R>
-
setChangedItem
-
deleteItem
-
finishExecutionOwn
- Specified by:
finishExecutionOwnin classSqaleUpdateContext<Containerable,Q extends FlexibleRelationalPathBase<R>, R> - Throws:
SchemaExceptionRepositoryException
-