org.intermine.web.struts
Class BagUploadConfirmForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.intermine.web.struts.BagUploadConfirmForm
All Implemented Interfaces:
java.io.Serializable

public class BagUploadConfirmForm
extends org.apache.struts.action.ActionForm

Form for the bagUploadConfirm page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
BagUploadConfirmForm()
          Constructor
 
Method Summary
 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 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. those that should be included in the new bag
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, 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