Package org.intermine.web.struts
Class InterMineLookupDispatchAction
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.apache.struts.actions.BaseAction
-
- org.apache.struts.actions.DispatchAction
-
- org.apache.struts.actions.LookupDispatchAction
-
- org.intermine.web.struts.InterMineLookupDispatchAction
-
public abstract class InterMineLookupDispatchAction extends org.apache.struts.actions.LookupDispatchAction
An InterMine specific version of LookupDispatchAction.- Author:
- Kim Rutherford
-
-
Constructor Summary
Constructors Constructor Description InterMineLookupDispatchAction()
-
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.LookupDispatchAction
execute, getKeyMethodMap, getLookupMapName, getMethodName
-
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, 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
-
-