Class QAffectedObjectsMapping
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<ActivityAffectedObjectsType,QAffectedObjects,MAffectedObjects,MTask>
com.evolveum.midpoint.repo.sqale.qmodel.task.QAffectedObjectsMapping
- All Implemented Interfaces:
QOwnedByMapping<ActivityAffectedObjectsType,
,MAffectedObjects, MTask> SqaleMappingMixin<ActivityAffectedObjectsType,
QAffectedObjects, MAffectedObjects>
public class QAffectedObjectsMapping
extends QContainerMapping<ActivityAffectedObjectsType,QAffectedObjects,MAffectedObjects,MTask>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger
-
Constructor Summary
ModifierConstructorDescriptionprotected
QAffectedObjectsMapping
(@NotNull SqaleRepoContext repositoryContext) -
Method Summary
Modifier and TypeMethodDescriptionstatic QAffectedObjectsMapping
get()
static QAffectedObjectsMapping
init
(@NotNull SqaleRepoContext repositoryContext) insert
(ActivityAffectedObjectsType activity, MTask ownerRow, JdbcSession jdbcSession) protected QAffectedObjects
newAliasInstance
(String alias) Method returning new instance ofEntityPath
- to be implemented by sub-mapping.newRowObject
(MTask ownerRow) Returns a row with foreign key fields referencing the provided owner row.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerDepth, containerIdentityPredicate, containerIdPath, initContainerMapping, initRowObject, selectExpressions, toSchemaObject, toSchemaObject, useDeltaApplyResults
Methods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, createRowTransformer, definitionDerivation, definitionDerivationKey, doubleMapper, enumMapper, fullObjectItemsToSkip, getDefinition, getPartitionManager, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, preprocessCacheableUris, 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, appendPaths, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, paths, 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:
-
-
Constructor Details
-
QAffectedObjectsMapping
-
-
Method Details
-
init
-
get
-
newRowObject
- Overrides:
newRowObject
in classQueryTableMapping<ActivityAffectedObjectsType,
QAffectedObjects, MAffectedObjects>
-
newRowObject
Description copied from interface:QOwnedByMapping
Returns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObject
in interfaceQOwnedByMapping<ActivityAffectedObjectsType,
MAffectedObjects, MTask> - Overrides:
newRowObject
in classQContainerMapping<ActivityAffectedObjectsType,
QAffectedObjects, MAffectedObjects, MTask>
-
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.- Overrides:
newAliasInstance
in classQContainerMapping<ActivityAffectedObjectsType,
QAffectedObjects, MAffectedObjects, MTask>
-
insert
public MAffectedObjects insert(ActivityAffectedObjectsType activity, MTask ownerRow, JdbcSession jdbcSession) throws SchemaException - Specified by:
insert
in interfaceQOwnedByMapping<ActivityAffectedObjectsType,
MAffectedObjects, MTask> - Overrides:
insert
in classQContainerMapping<ActivityAffectedObjectsType,
QAffectedObjects, MAffectedObjects, MTask> - Throws:
SchemaException
-