public class ListPageMethod extends ListMethod
Page
.Modifier and Type | Field and Description |
---|---|
protected static int |
POSITION |
PREFIXES
pattern
DEFAULT_POSITION
Constructor and Description |
---|
ListPageMethod() |
Modifier and Type | Method and Description |
---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo . |
int |
getOrder() |
protected boolean |
isValidReturnType(io.micronaut.inject.ast.ClassElement returnType,
MatchContext matchContext)
Dictates whether this is a valid return type.
|
isMethodMatch
buildMatchInfo
applyJoinSpecs, applyOrderBy, buildRawQuery, matchOrder, matchProjections
protected static final int POSITION
public int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered
getOrder
in interface MethodCandidate
getOrder
in class ListMethod
@Nullable protected MethodMatchInfo buildInfo(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 queryprotected boolean isValidReturnType(@NonNull io.micronaut.inject.ast.ClassElement returnType, MatchContext matchContext)
ListMethod
isValidReturnType
in class ListMethod
returnType
- The return type.matchContext
- The match context