Class ModifyQueryForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class ModifyQueryForm
    extends org.apache.struts.action.ActionForm
    Form bean to used in combining queries
    Author:
    Mark Woodbridge
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String[] selectedQueries  
      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • Constructor Summary

      Constructors 
      Constructor Description
      ModifyQueryForm()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getSelectedQueries()
      Gets the selected queries
      void initialise()
      Initialiser
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Reset the form to the initial state
      void setSelectedQueries​(java.lang.String[] selectedQueries)
      Sets the selected queries
      org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • selectedQueries

        protected java.lang.String[] selectedQueries
    • Constructor Detail

      • ModifyQueryForm

        public ModifyQueryForm()
        Constructor
    • Method Detail

      • initialise

        public void initialise()
        Initialiser
      • setSelectedQueries

        public void setSelectedQueries​(java.lang.String[] selectedQueries)
        Sets the selected queries
        Parameters:
        selectedQueries - the selected queries
      • getSelectedQueries

        public java.lang.String[] getSelectedQueries()
        Gets the selected queries
        Returns:
        the selected queries
      • validate

        public org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Overrides:
        validate in class org.apache.struts.action.ActionForm
      • reset

        public void reset​(org.apache.struts.action.ActionMapping mapping,
                          javax.servlet.http.HttpServletRequest request)
        Reset the form to the initial state
        Overrides:
        reset in class org.apache.struts.action.ActionForm
        Parameters:
        mapping - the mapping
        request - the request