Class QTriggerMapping<OR extends MObject>
- 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<TriggerType,QTrigger<OR>,MTrigger,OR>
-
- com.evolveum.midpoint.repo.sqale.qmodel.object.QTriggerMapping<OR>
-
- Type Parameters:
OR
- type of the owner row
- All Implemented Interfaces:
QOwnedByMapping<TriggerType,MTrigger,OR>
,SqaleMappingMixin<TriggerType,QTrigger<OR>,MTrigger>
public class QTriggerMapping<OR extends MObject> extends QContainerMapping<TriggerType,QTrigger<OR>,MTrigger,OR>
Mapping betweenQTrigger
andTriggerType
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ALIAS_NAME
-
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <OR extends MObject>
QTriggerMapping<OR>get()
static <OR extends MObject>
QTriggerMapping<OR>init(@NotNull SqaleRepoContext repositoryContext)
MTrigger
insert(TriggerType schemaObject, OR ownerRow, JdbcSession jdbcSession)
protected QTrigger<OR>
newAliasInstance(String alias)
Method returning new instance ofEntityPath
- to be implemented by sub-mapping.MTrigger
newRowObject()
MTrigger
newRowObject(OR 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
containerIdentityPredicate, initContainerMapping, initRowObject, toSchemaObject
-
Methods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, createRowTransformer, enumMapper, fullObjectItemsToSkip, 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, toSchemaObject, 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, selectExpressions, 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, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
-
-
-
-
Field Detail
-
DEFAULT_ALIAS_NAME
public static final String DEFAULT_ALIAS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static <OR extends MObject> QTriggerMapping<OR> init(@NotNull @NotNull SqaleRepoContext repositoryContext)
-
get
public static <OR extends MObject> QTriggerMapping<OR> get()
-
newAliasInstance
protected QTrigger<OR> newAliasInstance(String alias)
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<TriggerType,QTrigger<OR extends MObject>,MTrigger,OR extends MObject>
-
newRowObject
public MTrigger newRowObject()
- Overrides:
newRowObject
in classQContainerMapping<TriggerType,QTrigger<OR extends MObject>,MTrigger,OR extends MObject>
-
newRowObject
public MTrigger newRowObject(OR ownerRow)
Description copied from interface:QOwnedByMapping
Returns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObject
in interfaceQOwnedByMapping<TriggerType,MTrigger,OR extends MObject>
- Overrides:
newRowObject
in classQContainerMapping<TriggerType,QTrigger<OR extends MObject>,MTrigger,OR extends MObject>
-
insert
public MTrigger insert(TriggerType schemaObject, OR ownerRow, JdbcSession jdbcSession)
- Specified by:
insert
in interfaceQOwnedByMapping<TriggerType,MTrigger,OR extends MObject>
- Overrides:
insert
in classQContainerMapping<TriggerType,QTrigger<OR extends MObject>,MTrigger,OR extends MObject>
-
-