public abstract class BaseKickstartEditAction extends RhnAction
Constructor and Description |
---|
BaseKickstartEditAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected abstract BaseKickstartCommand |
getCommand(RequestContext ctx) |
protected java.lang.String |
getSuccessForward()
'Overrideable' method for baseclasses that require a
different action forward.
|
protected abstract java.lang.String |
getSuccessKey() |
protected abstract ValidatorError |
processFormValues(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.DynaActionForm form,
BaseKickstartCommand cmd)
Process the values from the form.
|
protected abstract void |
setupFormValues(RequestContext ctx,
org.apache.struts.action.DynaActionForm form,
BaseKickstartCommand cmd)
Setup the form values and other attributes necessary for the
action to render.
|
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
execute
in class org.apache.struts.action.Action
protected abstract BaseKickstartCommand getCommand(RequestContext ctx)
protected java.lang.String getSuccessForward()
protected abstract ValidatorError processFormValues(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.DynaActionForm form, BaseKickstartCommand cmd)
request
- the HttpServletRequestform
- to processcmd
- to executeprotected abstract java.lang.String getSuccessKey()
protected abstract void setupFormValues(RequestContext ctx, org.apache.struts.action.DynaActionForm form, BaseKickstartCommand cmd)
ctx
- the RequestContextform
- the DynaActionForm to processcmd
- the command to execute