|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScaffoldRequestHandler
An interface defining methods to handle CRUD operations involved in scaffolding
Method Summary | |
---|---|
ScaffoldDomain |
getScaffoldDomain()
|
Map |
handleCreate(HttpServletRequest request,
HttpServletResponse reponse,
ScaffoldCallback callback)
Handles a create request |
Map |
handleDelete(HttpServletRequest request,
HttpServletResponse reponse,
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 reponse)
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 reponse,
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. |
Method Detail |
---|
void setScaffoldDomain(ScaffoldDomain domain)
domain
- ScaffoldDomain getScaffoldDomain()
Map handleList(HttpServletRequest request, HttpServletResponse reponse)
request
- reponse
-
Map handleShow(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
request
- reponse
-
Map handleDelete(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
request
- reponse
-
Map handleCreate(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
request
- reponse
- callback
-
Map handleSave(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
request
- reponse
-
Map handleUpdate(HttpServletRequest request, HttpServletResponse reponse, ScaffoldCallback callback)
request
- reponse
-
Map handleFind(HttpServletRequest request, HttpServletResponse reponse)
request
- reponse
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |