Package org.intermine.web.struts
Class InterMineDispatchAction
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.apache.struts.actions.BaseAction
-
- org.apache.struts.actions.DispatchAction
-
- org.intermine.web.struts.InterMineDispatchAction
-
- Direct Known Subclasses:
ChangeTableAction
,LoadQueryAction
,ModifyQueryChangeAction
,UserTemplateAction
public class InterMineDispatchAction extends org.apache.struts.actions.DispatchAction
An InterMine specific version of DispatchAction.- Author:
- Kim Rutherford
-
-
Constructor Summary
Constructors Constructor Description InterMineDispatchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request)
Add the given ActionMessage as an error for this Actionvoid
recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request, java.lang.Exception e)
Add the given ActionMessage as an error for this Actionvoid
recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request, java.lang.Exception exception, org.apache.log4j.Logger logger)
Add the given ActionMessage as an error for this Action and log the errorvoid
recordMessage(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request)
Add the given ActionMessage as a message for this Action-
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, execute, getMethod, getMethodName, getParameter, unspecified
-
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
-
-
-
Method Detail
-
recordMessage
public void recordMessage(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request)
Add the given ActionMessage as a message for this Action- Parameters:
actionMessage
- the message to saverequest
- the HTTP request we are processing
-
recordError
public void recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request)
Add the given ActionMessage as an error for this Action- Parameters:
actionMessage
- the message to saverequest
- the HTTP request we are processing
-
recordError
public void recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request, java.lang.Exception e)
Add the given ActionMessage as an error for this Action- Parameters:
actionMessage
- the message to saverequest
- the HTTP request we are processinge
- the Exception that caused this error
-
recordError
public void recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request, java.lang.Exception exception, org.apache.log4j.Logger logger)
Add the given ActionMessage as an error for this Action and log the error- Parameters:
actionMessage
- the message to saverequest
- the HTTP request we are processingexception
- the Exception that caused this errorlogger
- the Logger to write the error message to
-
-