be.dvw.administration.mvc.actions
Class ScoreAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.MappingDispatchAction
be.dvw.administration.mvc.actions.ScoreAction
- public final class ScoreAction
- extends org.apache.struts.actions.MappingDispatchAction
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
org.apache.struts.action.ActionForward |
create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Redirects to the edit form putting the create action in session, so that
the form can be shown as a creation form. |
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
details(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Populates the edit form and redirects to it after setting the edit action
in session, so that the form can be shown as an update form. |
org.apache.struts.action.ActionForward |
inventory(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Loads the inventory in the request and forwards to the list page.
|
org.apache.struts.action.ActionForward |
save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves the score passed by the creation / update form. |
org.apache.struts.action.ActionForward |
search(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Loads the list corresponding to the search results in the request and forwards to the list page.
|
org.apache.struts.action.ActionForward |
searchForm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Forwards to the search form for scores. |
Methods inherited from class org.apache.struts.actions.MappingDispatchAction |
execute, getMethodName, unspecified |
Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, dispatchMethod, getMethod |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoreAction
public ScoreAction()
create
public org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Redirects to the edit form putting the create action in session, so that
the form can be shown as a creation form.
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.lang.Exception
edit
public org.apache.struts.action.ActionForward edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Populates the edit form and redirects to it after setting the edit action
in session, so that the form can be shown as an update form.
- Parameters:
mapping
- form
- request
- must contain a parameter "id" containing the id of the score.response
-
- Returns:
-
- Throws:
java.lang.Exception
save
public org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Saves the score passed by the creation / update form. This action is used both when creating a new
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.lang.Exception
delete
public org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
inventory
public org.apache.struts.action.ActionForward inventory(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Loads the inventory in the request and forwards to the list page.
Adds the inventory action so that the list page is aware of its function.
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.lang.Exception
search
public org.apache.struts.action.ActionForward search(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Loads the list corresponding to the search results in the request and forwards to the list page.
Adds the inventory action so that the list page is aware of its function.
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.lang.Exception
searchForm
public org.apache.struts.action.ActionForward searchForm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Forwards to the search form for scores.
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.lang.Exception
details
public org.apache.struts.action.ActionForward details(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 VZW Koninklijke Muziekvereniging 'De Vrije Werklieden' Lebbeke. All Rights Reserved.