@Deprecated public abstract class BaseUpdateAction extends BaseViewAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORWARD_CANCEL
Deprecated.
The name of the "cancel"
ActionForward |
static java.lang.String |
FORWARD_INVALID_TOKEN
Deprecated.
Forward taken if the token is invalid (i.e. double submit)
|
static java.lang.String |
FORWARD_PREPARE
Deprecated.
The name of the "prepare"
ActionForward |
static java.lang.String |
REQUEST_FORM_STATE
Deprecated.
Request parameter for the state of the form.
|
static java.lang.String |
REQUEST_RECOVERED
Deprecated.
|
static java.lang.String |
REQUEST_TOKEN
Deprecated.
|
static java.lang.String |
REQUEST_TOKEN_OVERRIDE
Deprecated.
Request parameter for overriding the token check.
|
static java.lang.String |
STATE_PREPARE
Deprecated.
|
static java.lang.String |
STATE_SAVE
Deprecated.
|
static java.lang.String |
STATE_VALIDATE
Deprecated.
|
FORWARD_ERROR, FORWARD_NO_ACCESS, FORWARD_SUCCESS
Constructor and Description |
---|
BaseUpdateAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.struts.action.ActionForward |
afterPrepare(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
javax.servlet.http.HttpServletResponse r_,
org.apache.struts.action.ActionForward defaultForward_)
Deprecated.
Performed after the
prepare(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse) . |
protected org.apache.struts.action.ActionErrors |
afterValidate(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
java.lang.String currentStep_)
Deprecated.
Performed after
validate(ActionMapping,ActionForm,HttpServletRequest,String) . |
protected org.apache.struts.action.ActionForward |
beforePrepare(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
javax.servlet.http.HttpServletResponse r_)
Deprecated.
Performed before
prepare(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse) . |
protected org.apache.struts.action.ActionErrors |
beforeValidate(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
java.lang.String currentStep_)
Deprecated.
Performed before
validate(ActionMapping,ActionForm,HttpServletRequest,String) . |
protected org.apache.struts.action.ActionForward |
handleInvalidToken(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
javax.servlet.http.HttpServletResponse r_)
Deprecated.
Returns the
ActionForward object mapped from this Action
for invalid tokens |
protected org.apache.struts.action.ActionForward |
prepare(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
javax.servlet.http.HttpServletResponse r_)
Deprecated.
Perpares the data, usually by populating the
ActionForm to
pre-populate a JSP form. |
protected org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping m_,
org.apache.struts.action.ActionForm f_,
javax.servlet.http.HttpServletRequest q_,
java.lang.String currentStep_)
Deprecated.
Validates the data and returns any errors.
|
addOutput, afterMain, beforeMain, getOutputValue, getServiceContext, main
addError, addError, addError, addError, addError, addError, addError, addError, addMessage, addMessage, addMessage, addMessage, canAccess, decodeParameters, execute, generateToken, getAuthorizationActionName, getAuthorizationProvider, getValueFromRequest, getValueFromRequest, initBundle, isTokenValid, isTokenValid, requiresAuthorization, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken
public static final java.lang.String REQUEST_TOKEN_OVERRIDE
public static final java.lang.String REQUEST_FORM_STATE
public static final java.lang.String REQUEST_TOKEN
public static final java.lang.String REQUEST_RECOVERED
public static final java.lang.String STATE_PREPARE
public static final java.lang.String STATE_SAVE
public static final java.lang.String STATE_VALIDATE
public static final java.lang.String FORWARD_CANCEL
ActionForward
public static final java.lang.String FORWARD_PREPARE
ActionForward
public static final java.lang.String FORWARD_INVALID_TOKEN
protected org.apache.struts.action.ActionErrors beforeValidate(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, java.lang.String currentStep_)
validate(ActionMapping,ActionForm,HttpServletRequest,String)
.
Override to implement.m_
- the action mappingf_
- the action formq_
- the requestcurrentStep_
- the current step in a UI wizard, if applicableprotected org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, java.lang.String currentStep_)
BaseViewAction.main(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
is executed.
Override to implement.m_
- the action mappingf_
- the action formq_
- the requestcurrentStep_
- the current step in a UI wizard, if applicableprotected org.apache.struts.action.ActionErrors afterValidate(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, java.lang.String currentStep_)
validate(ActionMapping,ActionForm,HttpServletRequest,String)
.
Override to implement.m_
- the action mappingf_
- the action formq_
- the requestcurrentStep_
- the current step in a UI wizard, if applicableprotected org.apache.struts.action.ActionForward prepare(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, javax.servlet.http.HttpServletResponse r_)
ActionForm
to
pre-populate a JSP form. This implementation simply returns the "prepare"
ActionForward
destination. Override to provide a custom
implementation.m_
- The ActionMapping
used to select this instancef_
- The optional ActionForm
bean for this request
(if any)q_
- The HTTP request we are processingr_
- The HTTP response we are creatingActionForward
protected org.apache.struts.action.ActionForward beforePrepare(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, javax.servlet.http.HttpServletResponse r_)
prepare(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse)
.
Override to implement.m_
- The ActionMapping
used to select this instancef_
- The optional ActionForm
bean for this
request (if any)q_
- The HTTP request we are processingr_
- The HTTP response we are creatingActionForward
protected org.apache.struts.action.ActionForward afterPrepare(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, javax.servlet.http.HttpServletResponse r_, org.apache.struts.action.ActionForward defaultForward_)
prepare(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse)
.
Override to implement.m_
- The ActionMapping
used to select this instancef_
- The optional ActionForm
bean for this
request (if any)q_
- The HTTP request we are processingr_
- The HTTP response we are creatingdefaultForward_
- the default action forwardActionForward
protected org.apache.struts.action.ActionForward handleInvalidToken(org.apache.struts.action.ActionMapping m_, org.apache.struts.action.ActionForm f_, javax.servlet.http.HttpServletRequest q_, javax.servlet.http.HttpServletResponse r_)
ActionForward
object mapped from this Action
for invalid tokensm_
- The ActionMapping
used to select this instancef_
- The optional ActionForm
bean for this
request (if any)q_
- The HTTP request we are processingr_
- The HTTP response we are creatingActionForward
objectCopyright © 2003-2024 Appian Corporation. All Rights Reserved.