|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Closure org.codehaus.groovy.grails.scaffolding.DefaultGrailsScaffolder.AbstractAction
abstract static class DefaultGrailsScaffolder.AbstractAction
Abstract base class that extends closure and retrieves the necessary arguments from the controller This is used to inject closure properties into controllers so controller actions appear as if by magic.
Field Summary | |
---|---|
protected groovy.lang.GroovyObject |
controller
|
protected HttpServletRequest |
request
|
protected HttpServletResponse |
response
|
protected ScaffoldRequestHandler |
scaffoldRequestHandler
|
protected ScaffoldResponseHandlerFactory |
scaffoldResponseFactory
|
protected ScaffoldResponseHandler |
scaffoldResponseHandler
|
Fields inherited from class groovy.lang.Closure |
---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
Constructor Summary | |
---|---|
DefaultGrailsScaffolder.AbstractAction(Object owner)
|
Method Summary | |
---|---|
void |
setScaffoldRequestHandler(ScaffoldRequestHandler scaffoldRequestHandler)
|
void |
setScaffoldResponseHandlerFactory(ScaffoldResponseHandlerFactory factory)
|
Methods inherited from class groovy.lang.Closure |
---|
asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException |
Methods inherited from class groovy.lang.GroovyObjectSupport |
---|
getMetaClass, invokeMethod, setMetaClass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected groovy.lang.GroovyObject controller
protected HttpServletRequest request
protected HttpServletResponse response
protected ScaffoldRequestHandler scaffoldRequestHandler
protected ScaffoldResponseHandlerFactory scaffoldResponseFactory
protected ScaffoldResponseHandler scaffoldResponseHandler
Constructor Detail |
---|
public DefaultGrailsScaffolder.AbstractAction(Object owner)
Method Detail |
---|
public void setScaffoldRequestHandler(ScaffoldRequestHandler scaffoldRequestHandler)
scaffoldRequestHandler
- The scaffoldRequestHandler to set.public void setScaffoldResponseHandlerFactory(ScaffoldResponseHandlerFactory factory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |