@groovy.transform.CompileStatic class FindByImplementer extends AbstractArrayOrIterableResultImplementer
Automatically implement services that find objects based an arguments
Modifiers | Name | Description |
---|---|---|
static int |
POSITION |
Type | Name and description |
---|---|
static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
Type Params | Return Type | Name and description |
---|---|---|
|
protected MatchSpec |
buildMatchSpec(java.lang.String prefix, java.lang.String methodName, int parameterCount) |
|
protected org.codehaus.groovy.ast.stmt.Statement |
buildReturnStatement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.expr.Expression queryExpression) |
|
void |
doImplement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.ClassNode targetClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, boolean isArray) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected java.lang.String |
getDynamicFinderPrefix() |
|
java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
int |
getOrder() |
Methods inherited from class | Name |
---|---|
class AbstractArrayOrIterableResultImplementer |
doImplement, doImplement, isCompatibleReturnType, resolveDomainClassForReturnType |
class AbstractReadOperationImplementer |
applyDefaultTransactionHandling, doImplement, doesEnhance, enhance, findArgsExpression, implement, resolveDomainClassFromSignature |
class AbstractServiceImplementer |
copyClassAnnotations, doesImplement, getHandledPrefixes, isCompatibleReturnType, isValidParameter |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |