public class DeleteMethod extends AbstractListMethod
pattern
DEFAULT_POSITION
Constructor and Description |
---|
DeleteMethod()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo . |
MethodMatchInfo |
buildMatchInfo(MethodMatchContext matchContext)
Builds the method info.
|
protected MethodMatchInfo.OperationType |
getOperationType() |
int |
getOrder() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, matchOrder, matchProjections
public final int getOrder()
public boolean isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement, MatchContext matchContext)
MethodCandidate
isMethodMatch
in interface MethodCandidate
isMethodMatch
in class AbstractPatternBasedMethod
methodElement
- The method element. Never null.matchContext
- The match context. Never null.@NonNull protected MethodMatchInfo.OperationType getOperationType()
getOperationType
in class AbstractPatternBasedMethod
@Nullable public MethodMatchInfo buildMatchInfo(@NonNull MethodMatchContext matchContext)
MethodCandidate
MethodCandidate.isMethodMatch(MethodElement, MatchContext)
should be
invoked and checked prior to calling this method.buildMatchInfo
in interface MethodCandidate
buildMatchInfo
in class AbstractListMethod
matchContext
- The match contextMethodMatchContext
@Nullable protected MethodMatchInfo buildInfo(@NonNull MethodMatchContext matchContext, @NonNull io.micronaut.inject.ast.ClassElement queryResultType, @Nullable QueryModel query)
AbstractPatternBasedMethod
MethodMatchInfo
.buildInfo
in class AbstractPatternBasedMethod
matchContext
- The match contextqueryResultType
- The query result typequery
- The query