Package org.intermine.web.struts
Class BagUploadConfirmForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- 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.- Author:
- Kim Rutherford
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BagUploadConfirmForm()
Constructor
-
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 pagejava.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 objectsvoid
initialise()
Initialise the form.void
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form to the initial statevoid
setBagType(java.lang.String bagType)
Set the bag typevoid
setExtraFieldValue(java.lang.String extraFieldValue)
Set the extra field valuevoid
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.
-
-
-
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 classorg.apache.struts.action.ActionForm
- Parameters:
mapping
- the mappingrequest
- the request
-
-