Package org.intermine.web.struts
Class ResultsAction
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.intermine.web.struts.InterMineAction
-
- org.intermine.web.struts.ResultsAction
-
public class ResultsAction extends InterMineAction
ResultsAction is called before results table is rendered. Can be used for setting various things needed before table is rendered and that cannot be set in controller as it is case of response headers. However for setting rendering related variables use TableController.- Author:
- Jakub Kulaviak
-
-
Constructor Summary
Constructors Constructor Description ResultsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Called before results table is rendered.-
Methods inherited from class org.intermine.web.struts.InterMineAction
getWebProperties, recordError, recordError, recordError, recordMessage
-
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
-
execute
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 java.lang.Exception
Called before results table is rendered.- Overrides:
execute
in classorg.apache.struts.action.Action
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
-