Class ContainerTableUpdateContext<S extends Containerable,Q extends QContainer<R,OR>,R extends MContainer,OR>    
java.lang.Object
com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext<S,Q,R>
  
com.evolveum.midpoint.repo.sqale.update.ContainerTableUpdateContext<S,Q,R,OR>   
- Type Parameters:
- S- schema type of the container stored in the owned table
- Q- type of entity path for the owned (child) table
- R- row type related to the- ContainerTableUpdateContext
- OR- owner row type
public class ContainerTableUpdateContext<S extends Containerable,Q extends QContainer<R,OR>,R extends MContainer,OR>    
extends SqaleUpdateContext<S,Q,R>  
Update context for multi-value containers stored in separate table.
 This can be owned by the root object or another container.
- 
Field SummaryFields inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContextjdbcSession, logger, parentContext, row, subcontexts
- 
Constructor SummaryConstructorsConstructorDescriptionContainerTableUpdateContext(SqaleUpdateContext<?, ?, OR> parentContext, QContainerMapping<S, Q, R, OR> mapping, R row) Creates the context for container component of the path, skeleton/fake row of the container with pre-filled CID and FK referencing the owner row must be provided.
- 
Method SummaryModifier and TypeMethodDescriptionReturns entity path (table) for the context.protected voidExecutes updates if applicable, nothing is done if set methods were not used.mapping()<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) com.querydsl.sql.dml.SQLUpdateClauseupdate()Methods inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContextaddSubcontext, findValueOrItem, findValueOrItem, finishExecution, getSubcontext, insertOwnedRow, isOverwrittenId, jdbcSession, repositoryContext, row
- 
Constructor Details- 
ContainerTableUpdateContextpublic ContainerTableUpdateContext(SqaleUpdateContext<?, ?, OR> parentContext, QContainerMapping<S, Q, R, OR> mapping, R row) Creates the context for container component of the path, skeleton/fake row of the container with pre-filled CID and FK referencing the owner row must be provided.
 
- 
- 
Method Details- 
entityPathDescription 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 class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
 
- 
mapping- Specified by:
- mappingin class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
 
- 
updatepublic com.querydsl.sql.dml.SQLUpdateClause update()
- 
setpublic <P extends com.querydsl.core.types.Path<T>,T> void set(P path, T value) - Specified by:
- setin class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
 
- 
setpublic <P extends com.querydsl.core.types.Path<T>,T> void set(P path, com.querydsl.core.types.Expression<T> value) - Specified by:
- setin class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
 
- 
setNullpublic <P extends com.querydsl.core.types.Path<T>,T> void setNull(P path) - Specified by:
- setNullin class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
 
- 
finishExecutionOwnExecutes updates if applicable, nothing is done if set methods were not used.- Specified by:
- finishExecutionOwnin class- SqaleUpdateContext<S extends Containerable,- Q extends QContainer<R, - OR>, - R extends MContainer> 
- Throws:
- SchemaException
 
 
-