org.intermine.web.struts
Class ChangeTableAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.intermine.web.struts.InterMineDispatchAction
              extended by org.intermine.web.struts.ChangeTableAction

public class ChangeTableAction
extends InterMineDispatchAction

Implementation of DispatchAction. Changes the view of the results in some way.


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
ChangeTableAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward hideColumn(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. 
 org.apache.struts.action.ActionForward last(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Change to the last results page
protected  org.apache.struts.action.ActionForward makeForward(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, PagedTable pt)
          Create a forward with parameters setting start item and page size.
 org.apache.struts.action.ActionForward moveColumnLeft(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. 
 org.apache.struts.action.ActionForward moveColumnRight(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. 
 org.apache.struts.action.ActionForward showColumn(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. 
 org.apache.struts.action.ActionForward swapColumns(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. 
 
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, 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

ChangeTableAction

public ChangeTableAction()
Method Detail

last

public org.apache.struts.action.ActionForward last(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
Change to the last results page

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

hideColumn

@Deprecated
public org.apache.struts.action.ActionForward hideColumn(org.apache.struts.action.ActionMapping mapping,
                                                                    org.apache.struts.action.ActionForm form,
                                                                    javax.servlet.http.HttpServletRequest request,
                                                                    javax.servlet.http.HttpServletResponse response)
Deprecated. 

Hide a column

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

showColumn

@Deprecated
public org.apache.struts.action.ActionForward showColumn(org.apache.struts.action.ActionMapping mapping,
                                                                    org.apache.struts.action.ActionForm form,
                                                                    javax.servlet.http.HttpServletRequest request,
                                                                    javax.servlet.http.HttpServletResponse response)
Deprecated. 

Show a column

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

moveColumnLeft

@Deprecated
public org.apache.struts.action.ActionForward moveColumnLeft(org.apache.struts.action.ActionMapping mapping,
                                                                        org.apache.struts.action.ActionForm form,
                                                                        javax.servlet.http.HttpServletRequest request,
                                                                        javax.servlet.http.HttpServletResponse response)
Deprecated. 

Move a column left

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

moveColumnRight

@Deprecated
public org.apache.struts.action.ActionForward moveColumnRight(org.apache.struts.action.ActionMapping mapping,
                                                                         org.apache.struts.action.ActionForm form,
                                                                         javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response)
Deprecated. 

Move a column right

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

swapColumns

@Deprecated
public org.apache.struts.action.ActionForward swapColumns(org.apache.struts.action.ActionMapping mapping,
                                                                     org.apache.struts.action.ActionForm form,
                                                                     javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response)
Deprecated. 

Swap two columns

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward object defining where control goes next

makeForward

protected org.apache.struts.action.ActionForward makeForward(org.apache.struts.action.ActionMapping mapping,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             PagedTable pt)
Create a forward with parameters setting start item and page size.

Parameters:
mapping - TODO
request - the current HttpServletRequest
pt - PagedTable
Returns:
an ActionForward with parameters