Class ChangeTableAction


  • public class ChangeTableAction
    extends InterMineDispatchAction
    Implementation of DispatchAction. Changes the view of the results in some way.
    Author:
    Andrew Varley, Thomas Riley
    • Field Summary

      • Fields inherited from class org.apache.struts.actions.DispatchAction

        clazz, log, methods, types
      • Fields inherited from class org.apache.struts.actions.BaseAction

        messages
      • Fields inherited from class org.apache.struts.action.Action

        servlet
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
      as we don't hide columns any more
      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.
      as we don't move columns any more
      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.
      as we don't move columns any more
      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.
      as we don't hide columns any more
      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.
      as we don't move columns any more
      • 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
      • 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.
        as we don't hide columns any more
        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.
        as we don't hide columns any more
        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.
        as we don't move columns any more
        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.
        as we don't move columns any more
        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.
        as we don't move columns any more
        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