@groovy.transform.CompileStatic class FindOneByImplementer extends FindAllByImplementer implements SingleResultServiceImplementer<GormEntity>
Handles implementation for a finder that returns a single result
Fields inherited from class | Fields |
---|---|
class FindAllByImplementer |
POSITION |
Type | Name and description |
---|---|
static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
Constructor and description |
---|
FindOneByImplementer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
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) |
|
protected java.lang.String |
getDynamicFinderPrefix() |
|
java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
protected boolean |
isCompatibleReturnType(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.ClassNode returnType, java.lang.String prefix) |
|
protected org.codehaus.groovy.ast.ClassNode |
resolveDomainClassForReturnType(org.codehaus.groovy.ast.ClassNode currentDomainClass, boolean isArray, org.codehaus.groovy.ast.ClassNode returnType) |
Groovy Documentation