@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(ClassNode domainClassNode, ClassNode targetClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, boolean isArray) |
|
protected java.lang.String |
getDynamicFinderPrefix() |
|
java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
protected boolean |
isCompatibleReturnType(ClassNode domainClass, MethodNode methodNode, ClassNode returnType, java.lang.String prefix) |
|
protected ClassNode |
resolveDomainClassForReturnType(ClassNode currentDomainClass, boolean isArray, ClassNode returnType) |
Groovy Documentation