Package org.intermine.web.struts
Class LoadQueryAction
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.apache.struts.actions.BaseAction
-
- org.apache.struts.actions.DispatchAction
-
- org.intermine.web.struts.InterMineDispatchAction
-
- org.intermine.web.struts.LoadQueryAction
-
public class LoadQueryAction extends InterMineDispatchAction
Implementation of Action that sets the current Query for the session from some random XML the user has passed in, and maybe executes it.- Author:
- Kim Rutherford
-
-
Constructor Summary
Constructors Constructor Description LoadQueryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.struts.action.ActionForward
list(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Load a query using given listorg.apache.struts.action.ActionForward
xml(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Load a query from path query XML passed as a request parameter.-
Methods inherited from class org.intermine.web.struts.InterMineDispatchAction
recordError, recordError, recordError, recordMessage
-
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
-
xml
public org.apache.struts.action.ActionForward xml(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
Load a query from path query XML passed as a request parameter.- 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
-
list
public org.apache.struts.action.ActionForward list(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
Load a query using given list- 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
-
-