org.intermine.web.struts
Class InterMineDispatchAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.intermine.web.struts.InterMineDispatchAction
Direct Known Subclasses:
ChangeTableAction, ModifyQueryChangeAction, UserTemplateAction

public class InterMineDispatchAction
extends org.apache.struts.actions.DispatchAction

An InterMine specific version of DispatchAction.


Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
InterMineDispatchAction()
           
 
Method Summary
 void recordError(org.apache.struts.action.ActionMessage actionMessage, javax.servlet.http.HttpServletRequest request)
          Add the given ActionMessage as an error for this Action
 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
 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
 void 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, unspecified
 
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, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterMineDispatchAction

public InterMineDispatchAction()
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 save
request - 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 save
request - 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 save
request - the HTTP request we are processing
e - 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 save
request - the HTTP request we are processing
exception - the Exception that caused this error
logger - the Logger to write the error message to