Class QAccessCertificationWorkItemMapping
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping<S,Q,R>
com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping<S,Q,R>
com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping<S,Q,R>
com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping<AccessCertificationWorkItemType,QAccessCertificationWorkItem,MAccessCertificationWorkItem,MAccessCertificationCase>
com.evolveum.midpoint.repo.sqale.qmodel.accesscert.QAccessCertificationWorkItemMapping
- All Implemented Interfaces:
QOwnedByMapping<AccessCertificationWorkItemType,
,MAccessCertificationWorkItem, MAccessCertificationCase> SqaleMappingMixin<AccessCertificationWorkItemType,
QAccessCertificationWorkItem, MAccessCertificationWorkItem>
public class QAccessCertificationWorkItemMapping
extends QContainerMapping<AccessCertificationWorkItemType,QAccessCertificationWorkItem,MAccessCertificationWorkItem,MAccessCertificationCase>
Mapping between
QAccessCertificationWorkItem
and AccessCertificationWorkItemType
.-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger
-
Method Summary
Modifier and TypeMethodDescriptionint
containerIdPath
(com.querydsl.core.Tuple tuple, QAccessCertificationWorkItem e) Descendant path of container ids to current rowResultListRowTransformer<AccessCertificationWorkItemType,
QAccessCertificationWorkItem, MAccessCertificationWorkItem> createRowTransformer
(SqlQueryContext<AccessCertificationWorkItemType, QAccessCertificationWorkItem, MAccessCertificationWorkItem> sqlQueryContext, JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options) Returns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)
for each result row.get()
init
(@NotNull SqaleRepoContext repositoryContext) insert
(AccessCertificationWorkItemType workItem, MAccessCertificationCase caseRow, JdbcSession jdbcSession) protected QAccessCertificationWorkItem
newAliasInstance
(String alias) Method returning new instance ofEntityPath
- to be implemented by sub-mapping.newRowObject
(MAccessCertificationCase ownerRow) Returns a row with foreign key fields referencing the provided owner row.Implemented for searchable containers that do not use fullObject for their recreation.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerIdentityPredicate, initContainerMapping, initRowObject, selectExpressions, toSchemaObject, useDeltaApplyResults
Methods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, definitionDerivation, definitionDerivationKey, doubleMapper, enumMapper, fullObjectItemsToSkip, getDefinition, getPartitionManager, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, processCacheableRelation, processCacheableUri, processCacheableUri, processCacheableUris, processExtensionColumns, processExtensions, repositoryContext, resolveIdToUri, resolveReferenceNames, resolveUriIdToQName, schemaTypeToObjectType, setPolyString, setReference, storeRefs, stringMapper, stringsToArray, timestampMapper, toSchemaObjectComplete, toSchemaObjectCompleteSafe, toSchemaObjectInternal, uriMapper, uuidMapper
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping
addDetailFetchMapper, addExtensionColumn, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, prismContext, selectExpressionsWithCustomColumns, tableName, toString, updateGetOptions
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
addItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixin
addAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
-
Field Details
-
DEFAULT_ALIAS_NAME
- See Also:
-
-
Method Details
-
init
public static QAccessCertificationWorkItemMapping init(@NotNull @NotNull SqaleRepoContext repositoryContext) -
get
-
toSchemaObject
Description copied from class:QContainerMapping
Implemented for searchable containers that do not use fullObject for their recreation. -
newAliasInstance
Description copied from class:QueryTableMapping
Method returning new instance ofEntityPath
- to be implemented by sub-mapping. This will create entity path without any extension columns, seeQueryTableMapping.newAlias(java.lang.String)
for that. -
newRowObject
-
newRowObject
Description copied from interface:QOwnedByMapping
Returns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObject
in interfaceQOwnedByMapping<AccessCertificationWorkItemType,
MAccessCertificationWorkItem, MAccessCertificationCase> - Overrides:
newRowObject
in classQContainerMapping<AccessCertificationWorkItemType,
QAccessCertificationWorkItem, MAccessCertificationWorkItem, MAccessCertificationCase>
-
insert
public MAccessCertificationWorkItem insert(AccessCertificationWorkItemType workItem, MAccessCertificationCase caseRow, JdbcSession jdbcSession) -
createRowTransformer
public ResultListRowTransformer<AccessCertificationWorkItemType,QAccessCertificationWorkItem, createRowTransformerMAccessCertificationWorkItem> (SqlQueryContext<AccessCertificationWorkItemType, QAccessCertificationWorkItem, MAccessCertificationWorkItem> sqlQueryContext, JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options) Description copied from class:QueryTableMapping
Returns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)
for each result row. This can be overridden, seeResultListRowTransformer
javadoc for details. This is useful for stateful transformers where the whole result can be pre-/post-processed as well. -
containerIdPath
protected List<Object> containerIdPath(com.querydsl.core.Tuple tuple, QAccessCertificationWorkItem e) Description copied from class:QContainerMapping
Descendant path of container ids to current row -
containerDepth
public int containerDepth()
-