Package org.intermine.web.struts
Class QueryBuilderController
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.apache.struts.tiles.actions.TilesAction
-
- org.intermine.web.struts.QueryBuilderController
-
public class QueryBuilderController extends org.apache.struts.tiles.actions.TilesAction
Controller for the main query builder tile. Generally, request attributes that are required by multiple tiles on the query builder are synthesized here.- Author:
- Mark Woodbridge, Thomas Riley
- See Also:
QueryBuilderConstraintController
,org.intermine.web.struts.QueryBuilderPathsController
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description QueryBuilderController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.struts.action.ActionForward
execute(org.apache.struts.tiles.ComponentContext context, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.util.Collection<java.lang.String>
populateRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Populate the request with the necessary attributes to render the query builder page.-
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.tiles.ComponentContext context, 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
- Overrides:
execute
in classorg.apache.struts.tiles.actions.TilesAction
- Throws:
java.lang.Exception
-
populateRequest
public static java.util.Collection<java.lang.String> populateRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Populate the request with the necessary attributes to render the query builder page. This method is static so that it can be called from the AJAX actions in MainChange.java- Parameters:
request
- the current requestresponse
- the current response- Returns:
- A collection of strings that have been removed from the sort-order.
-
-