Class ShadowReferenceAttributesUpdateContext
java.lang.Object
com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext<ShadowType,QShadow,MShadow>
com.evolveum.midpoint.repo.sqale.qmodel.shadow.ShadowReferenceAttributesUpdateContext
- Type Parameters:
S- schema type of the container mapped by the nested mappingQ- entity query type that holds the data for the mapped attributesR- row type related to theQ
public class ShadowReferenceAttributesUpdateContext
extends SqaleUpdateContext<ShadowType,QShadow,MShadow>
Update context for nested containers stored in the same table used by the parent context.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext
jdbcSession, logger, parentContext, row, subcontexts -
Constructor Summary
ConstructorsConstructorDescriptionShadowReferenceAttributesUpdateContext(SqaleUpdateContext<?, QShadow, MShadow> parentContext, QueryModelMapping<ShadowType, QShadow, MShadow> mapping) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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) <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
-
ShadowReferenceAttributesUpdateContext
public ShadowReferenceAttributesUpdateContext(SqaleUpdateContext<?, QShadow, MShadow> parentContext, QueryModelMapping<ShadowType, QShadow, MShadow> mapping)
-
-
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<ShadowType,QShadow, MShadow>
-
mapping
- Specified by:
mappingin classSqaleUpdateContext<ShadowType,QShadow, MShadow>
-
set
public <P extends com.querydsl.core.types.Path<T>,T> void set(P path, T value) - Specified by:
setin classSqaleUpdateContext<ShadowType,QShadow, MShadow>
-
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<ShadowType,QShadow, MShadow>
-
setNull
public <P extends com.querydsl.core.types.Path<T>,T> void setNull(P path) - Specified by:
setNullin classSqaleUpdateContext<ShadowType,QShadow, MShadow>
-
finishExecutionOwn
protected void finishExecutionOwn()- Specified by:
finishExecutionOwnin classSqaleUpdateContext<ShadowType,QShadow, MShadow>
-