Class BagUploadConfirmForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class BagUploadConfirmForm
    extends org.apache.struts.action.ActionForm
    Form for the bagUploadConfirm page.
    Author:
    Kim Rutherford
    See Also:
    Serialized Form
    • Field Summary

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

        multipartRequestHandler, servlet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBagType()
      Get the bag type - hidden form value.
      java.lang.String getExtraFieldValue()
      Set the extra field value - the optional constraint on the bag upload page
      java.lang.String getMatchIDs()
      Get the encoded match ids (hidden form field).
      java.lang.String getNewBagName()
      Get the bag name.
      java.lang.String[] getSelectedObjects()
      Gets the ids of the selected objects
      void initialise()
      Initialise the form.
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Reset the form to the initial state
      void setBagType​(java.lang.String bagType)
      Set the bag type
      void setExtraFieldValue​(java.lang.String extraFieldValue)
      Set the extra field value
      void setMatchIDs​(java.lang.String matchIDs)
      Set the encoded match ids.
      void setNewBagName​(java.lang.String name)
      Set the bag name.
      void setSelectedObjects​(java.lang.String[] selectedObjects)
      Sets the ids of the selected objects - ie.
      • Methods inherited from class org.apache.struts.action.ActionForm

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

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

      • BagUploadConfirmForm

        public BagUploadConfirmForm()
        Constructor
    • Method Detail

      • initialise

        public void initialise()
        Initialise the form.
      • setNewBagName

        public void setNewBagName​(java.lang.String name)
        Set the bag name.
        Parameters:
        name - the bag name
      • getNewBagName

        public java.lang.String getNewBagName()
        Get the bag name.
        Returns:
        the bag name
      • setSelectedObjects

        public void setSelectedObjects​(java.lang.String[] selectedObjects)
        Sets the ids of the selected objects - ie. those that should be included in the new bag
        Parameters:
        selectedObjects - the selected objects
      • getSelectedObjects

        public java.lang.String[] getSelectedObjects()
        Gets the ids of the selected objects
        Returns:
        the selected objects
      • getMatchIDs

        public java.lang.String getMatchIDs()
        Get the encoded match ids (hidden form field).
        Returns:
        the match IDs
      • setMatchIDs

        public void setMatchIDs​(java.lang.String matchIDs)
        Set the encoded match ids.
        Parameters:
        matchIDs - the encoded match ids
      • getBagType

        public java.lang.String getBagType()
        Get the bag type - hidden form value.
        Returns:
        the bag type
      • setBagType

        public void setBagType​(java.lang.String bagType)
        Set the bag type
        Parameters:
        bagType - the new bag type
      • getExtraFieldValue

        public java.lang.String getExtraFieldValue()
        Set the extra field value - the optional constraint on the bag upload page
        Returns:
        the extra field value
      • setExtraFieldValue

        public void setExtraFieldValue​(java.lang.String extraFieldValue)
        Set the extra field value
        Parameters:
        extraFieldValue - the extra field value
      • 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