public class EditAction
extends org.apache.struts.actions.LookupDispatchAction
Constructor and Description |
---|
EditAction() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map |
getKeyMethodMap() |
org.apache.struts.action.ActionForward |
notify(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sends a notification
|
org.apache.struts.action.ActionForward |
publish(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method handles changing an UnpublishedErrata to a PublishedErrata
|
org.apache.struts.action.ActionForward |
setupPage(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Errata errata)
This method sets up the page for view
|
org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method acts as the default if the dispatch parameter is not in the map
It also represents the SetupAction
|
org.apache.struts.action.ActionForward |
update(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Updates the errata according to info on the page.
|
org.apache.struts.action.ActionErrors |
validateForm(org.apache.struts.action.DynaActionForm form,
javax.servlet.http.HttpServletRequest request,
Errata errata,
java.util.List bugs)
Validate the form and add bugs to the list
|
execute, getLookupMapName, getMethodName
cancelled, dispatchMethod, getMethod, getParameter
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
unspecified
in class org.apache.struts.actions.DispatchAction
mapping
- ActionMappingformIn
- ActionFormrequest
- HttpServletRequestresponse
- HttpServletResponsepublic org.apache.struts.action.ActionForward setupPage(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Errata errata)
request
- HttpServletRequestmapping
- ActionMappingerrata
- The errata being editedpublic org.apache.struts.action.ActionForward publish(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- Action mappingformIn
- Formrequest
- The requestresponse
- The responsepublic org.apache.struts.action.ActionForward notify(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- Action mappingformIn
- Formrequest
- The requestresponse
- The responsepublic org.apache.struts.action.ActionForward update(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
mapping
- Action mappingformIn
- Formrequest
- The requestresponse
- The responsepublic org.apache.struts.action.ActionErrors validateForm(org.apache.struts.action.DynaActionForm form, javax.servlet.http.HttpServletRequest request, Errata errata, java.util.List bugs)
form
- The form we are validatingrequest
- HttpServletRequesterrata
- The errata we are editingbugs
- list of the bugs for the errataprotected java.util.Map getKeyMethodMap()
getKeyMethodMap
in class org.apache.struts.actions.LookupDispatchAction