|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.rhq.enterprise.gui.legacy.action.BaseAction
public class BaseAction
An Action subclass that provides convenience methods for recognizing form submission types (cancel,
reset, ok, etc) and deciding where to return after the action has completed.
| Field Summary | |
|---|---|
static boolean |
NO_RETURN_PATH
|
static boolean |
YES_RETURN_PATH
|
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
BaseAction()
|
|
| Method Summary | |
|---|---|
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form)
|
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
boolean doReturnPath)
|
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
Map params)
|
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
Map params,
boolean doReturnPath)
Return an ActionForward if the form has been cancelled or reset; otherwise return null
so that the subclass can continue to execute. |
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
String param,
Object value,
boolean doReturnPath)
|
protected org.apache.struts.action.ActionForward |
constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName)
|
protected org.apache.struts.action.ActionForward |
constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
boolean doReturnPath)
|
protected org.apache.struts.action.ActionForward |
constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
Map params,
boolean doReturnPath)
Return an ActionForward corresponding to the given form gesture or action state. |
protected org.apache.struts.action.ActionForward |
constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
String param,
Object value,
boolean doReturnPath)
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Dosen't do a damn thing. |
org.apache.struts.action.ActionForward |
returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the add form gesture, setting the return path to the
current URL. |
org.apache.struts.action.ActionForward |
returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
|
org.apache.struts.action.ActionForward |
returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the cancel form gesture. |
org.apache.struts.action.ActionForward |
returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
boolean doReturnPath)
|
org.apache.struts.action.ActionForward |
returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
|
org.apache.struts.action.ActionForward |
returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the failure action state. |
org.apache.struts.action.ActionForward |
returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the install form gesture, setting the return path to
the current URL. |
org.apache.struts.action.ActionForward |
returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the install form gesture, setting the return path to
the current URL. |
org.apache.struts.action.ActionForward |
returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the new form gesture, setting the return path to the
current URL. |
org.apache.struts.action.ActionForward |
returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the success action state. |
org.apache.struts.action.ActionForward |
returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value,
boolean doReturnPath)
|
org.apache.struts.action.ActionForward |
returnOkAssign(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the okassign action state. |
org.apache.struts.action.ActionForward |
returnOkAssign(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the okassign action state. |
org.apache.struts.action.ActionForward |
returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Return an ActionForward representing the remove form gesture, setting the return path to the
current URL. |
org.apache.struts.action.ActionForward |
returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
|
org.apache.struts.action.ActionForward |
returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the reset form gesture. |
org.apache.struts.action.ActionForward |
returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
|
org.apache.struts.action.ActionForward |
returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
|
org.apache.struts.action.ActionForward |
returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
Return an ActionForward representing the success action state. |
org.apache.struts.action.ActionForward |
returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
|
org.apache.struts.action.ActionForward |
returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value,
boolean doReturnPath)
|
| 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 |
| Field Detail |
|---|
public static final boolean YES_RETURN_PATH
public static final boolean NO_RETURN_PATH
| Constructor Detail |
|---|
public BaseAction()
| Method Detail |
|---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
execute in class org.apache.struts.action.ActionException
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
Map params,
boolean doReturnPath)
throws Exception
ActionForward if the form has been cancelled or reset; otherwise return null
so that the subclass can continue to execute.
Exception
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
Map params)
throws Exception
Exception
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
boolean doReturnPath)
throws Exception
Exception
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form)
throws Exception
Exception
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
String param,
Object value,
boolean doReturnPath)
throws Exception
Exception
public org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the add form gesture, setting the return path to the
current URL.
Exception
public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnAdd(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the cancel form gesture.
Exception
public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnCancelled(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the failure action state.
Exception
public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
boolean doReturnPath)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnFailure(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the new form gesture, setting the return path to the
current URL.
Exception
public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the success action state.
Exception
public org.apache.struts.action.ActionForward returnNew(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value,
boolean doReturnPath)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the remove form gesture, setting the return path to the
current URL.
Exception
public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnRemove(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the install form gesture, setting the return path to
the current URL.
Exception
public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnInstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the install form gesture, setting the return path to
the current URL.
Exception
public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnManualUninstall(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the reset form gesture.
Exception
public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnReset(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
ActionForward representing the okassign action state.
Exception
public org.apache.struts.action.ActionForward returnOkAssign(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the okassign action state.
Exception
public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params,
boolean doReturnPath)
throws Exception
ActionForward representing the success action state.
Exception
public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value,
boolean doReturnPath)
throws Exception
Exception
public org.apache.struts.action.ActionForward returnSuccess(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String param,
Object value)
throws Exception
Exception
protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
Map params,
boolean doReturnPath)
throws Exception
ActionForward corresponding to the given form gesture or action state. Utilize the session
return path if it is set. Optionally set a request parameter to the path.
Exception
protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
String param,
Object value,
boolean doReturnPath)
throws Exception
Exception
protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName,
boolean doReturnPath)
throws Exception
Exception
protected org.apache.struts.action.ActionForward constructForward(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
String forwardName)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||