@groovy.transform.CompileStatic class FindOneWhereImplementer extends AbstractWhereImplementer implements SingleResultServiceImplementer<GormEntity>
Implements support for the Where annotation on Service instances that return a single result
Fields inherited from class | Fields |
---|---|
class AbstractWhereImplementer |
POSITION |
Constructor and description |
---|
FindOneWhereImplementer() |
Type Params | Return Type | Name and description |
---|---|---|
|
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 methodNode, org.codehaus.groovy.ast.expr.Expression queryExpression) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected boolean |
isCompatibleReturnType(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode returnType, java.lang.String prefix) |