Class ShadowReferenceAttributesResolver
java.lang.Object
com.evolveum.midpoint.repo.sqale.qmodel.shadow.ShadowReferenceAttributesResolver
- All Implemented Interfaces:
SqaleItemRelationResolver<QShadow,
,MShadow, QShadowReferenceAttribute, MShadowReferenceAttribute> ItemRelationResolver<QShadow,
MShadow, QShadowReferenceAttribute, MShadowReferenceAttribute>
public class ShadowReferenceAttributesResolver
extends Object
implements SqaleItemRelationResolver<QShadow,MShadow,QShadowReferenceAttribute,MShadowReferenceAttribute>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemRelationResolver
ItemRelationResolver.ResolutionResult<TQ extends FlexibleRelationalPathBase<TR>,
TR> -
Constructor Summary
ConstructorsConstructorDescriptionShadowReferenceAttributesResolver
(QShadowReferenceAttributeMapping referenceMapping) -
Method Summary
Modifier and TypeMethodDescriptionSqaleUpdateContext<?,
?, ?> resolve
(SqaleUpdateContext<?, QShadow, MShadow> context, ItemPath itemPath) Resolves current query context to a new context (mapping is always part of context).resolve
(SqlQueryContext<?, QShadow, MShadow> context, boolean parent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemRelationResolver
resolve, resolveUsingJoin
-
Constructor Details
-
ShadowReferenceAttributesResolver
-
-
Method Details
-
resolve
public SqaleUpdateContext<?,?, resolve?> (SqaleUpdateContext<?, QShadow, throws RepositoryExceptionMShadow> context, ItemPath itemPath) Description copied from interface:SqaleItemRelationResolver
Resolves current query context to a new context (mapping is always part of context). The information about the resolved item is captured in the instance resolver already in a manner that is specific for various types of resolution (JOIN or nested mapping). OptionalItemPath
is provided for cases when container ID is necessary. Return value `null` indicates that the modification using the resolver should be ignored by the repository.- Specified by:
resolve
in interfaceSqaleItemRelationResolver<QShadow,
MShadow, QShadowReferenceAttribute, MShadowReferenceAttribute> - Throws:
RepositoryException
-
resolve
public ItemRelationResolver.ResolutionResult<QShadowReferenceAttribute,MShadowReferenceAttribute> resolve(SqlQueryContext<?, QShadow, MShadow> context, boolean parent) - Specified by:
resolve
in interfaceItemRelationResolver<QShadow,
MShadow, QShadowReferenceAttribute, MShadowReferenceAttribute>
-