|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.scaffolding.DefaultScaffoldRequestHandler
public class DefaultScaffoldRequestHandler
Default implementation of the ScaffoldRequestHandler interface. Uses a ScaffoldDomain to handle basic CRUD operations.
Constructor Summary | |
---|---|
DefaultScaffoldRequestHandler()
|
Method Summary | |
---|---|
ScaffoldDomain |
getScaffoldDomain()
|
Map |
handleCreate(HttpServletRequest request,
HttpServletResponse reponse,
ScaffoldCallback callback)
Handles a create request |
Map |
handleDelete(HttpServletRequest request,
HttpServletResponse response,
ScaffoldCallback callback)
Handles a request to delete a scaffolded instance |
Map |
handleFind(HttpServletRequest request,
HttpServletResponse reponse)
Handles a request to find a scaffolded instance |
Map |
handleList(HttpServletRequest request,
HttpServletResponse response)
Handles a request to list all scaffolded instances |
Map |
handleSave(HttpServletRequest request,
HttpServletResponse reponse,
ScaffoldCallback callback)
Handles a request to save a scaffolded instance |
Map |
handleShow(HttpServletRequest request,
HttpServletResponse response,
ScaffoldCallback callback)
Handles a request to show a scaffolded instance |
Map |
handleUpdate(HttpServletRequest request,
HttpServletResponse reponse,
ScaffoldCallback callback)
Handles a request to update a scaffolded instance |
void |
setScaffoldDomain(ScaffoldDomain domain)
Sets the domain to use during scaffolding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultScaffoldRequestHandler()
Method Detail |
---|
public void setScaffoldDomain(ScaffoldDomain domain)
ScaffoldRequestHandler
setScaffoldDomain
in interface ScaffoldRequestHandler
public ScaffoldDomain getScaffoldDomain()
getScaffoldDomain
in interface ScaffoldRequestHandler
public Map handleList(HttpServletRequest request, HttpServletResponse response)
ScaffoldRequestHandler
handleList
in interface ScaffoldRequestHandler
public Map handleShow(HttpServletRequest request, HttpServletResponse response, ScaffoldCallback callback)
ScaffoldRequestHandler
handleShow
in interface ScaffoldRequestHandler
public Map handleDelete(HttpServletRequest request, HttpServletResponse response, ScaffoldCallback callback)
ScaffoldRequestHandler
handleDelete
in interface ScaffoldRequestHandler
public Map handleCreate(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
ScaffoldRequestHandler
handleCreate
in interface ScaffoldRequestHandler
public Map handleSave(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
ScaffoldRequestHandler
handleSave
in interface ScaffoldRequestHandler
public Map handleUpdate(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
ScaffoldRequestHandler
handleUpdate
in interface ScaffoldRequestHandler
public Map handleFind(HttpServletRequest request, HttpServletResponse reponse)
ScaffoldRequestHandler
handleFind
in interface ScaffoldRequestHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |