Class AddColumnAction


  • public class AddColumnAction
    extends InterMineAction
    AddColumnAction adds new column to existing WebTable that should be displayed. There are some limitations - only columns that are already contained in web table but are not displayed can be added, because web table contains original InterMine objects and only required columns (columns with required fields) are displayed.
    Author:
    Jakub Kulaviak
    • Field Summary

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

        servlet
    • Constructor Summary

      Constructors 
      Constructor Description
      AddColumnAction()  
    • 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)
      Executes action.
      • 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

      • AddColumnAction

        public AddColumnAction()
    • 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
        Executes action. @see AddColumnAction
        Overrides:
        execute in class org.apache.struts.action.Action
        Parameters:
        mapping - action mapping
        form - not used
        request - request
        response - response
        Returns:
        action forward
        Throws:
        java.lang.Exception - if an error happens