Package org.intermine.web.struts
Class SaveBagForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.SaveBagForm
-
- All Implemented Interfaces:
java.io.Serializable
public class SaveBagForm extends org.apache.struts.action.ActionForm
Form bean for the results table and bag creation form.- Author:
- Andrew Varley, Thomas Riley
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
existingBagName
protected java.lang.String
newBagName
protected java.lang.String
operationButton
protected java.lang.String[]
selectedObjects
-
Constructor Summary
Constructors Constructor Description SaveBagForm()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExistingBagName()
Gets the value of existingBagNamejava.lang.String
getNewBagName()
Gets the value of newBagNamejava.lang.String
getOperationButton()
java.lang.String[]
getSelectedObjects()
Gets the selected objectsvoid
initialise()
Initialiservoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form to the initial statevoid
setExistingBagName(java.lang.String existingBagName)
Sets the value of existingBagNamevoid
setNewBagName(java.lang.String newBagName)
Sets the value of newBagNamevoid
setOperationButton(java.lang.String operationButton)
void
setSelectedObjects(java.lang.String[] selectedObjects)
Sets the selected objects
-
-
-
Method Detail
-
initialise
public void initialise()
Initialiser
-
setSelectedObjects
public void setSelectedObjects(java.lang.String[] selectedObjects)
Sets the selected objects- Parameters:
selectedObjects
- the selected objects
-
getSelectedObjects
public java.lang.String[] getSelectedObjects()
Gets the selected objects- Returns:
- the selected objects
-
getExistingBagName
public java.lang.String getExistingBagName()
Gets the value of existingBagName- Returns:
- the value of existingBagName
-
setExistingBagName
public void setExistingBagName(java.lang.String existingBagName)
Sets the value of existingBagName- Parameters:
existingBagName
- Value to assign to this.existingBagName
-
getNewBagName
public java.lang.String getNewBagName()
Gets the value of newBagName- Returns:
- the value of newBagName
-
setNewBagName
public void setNewBagName(java.lang.String newBagName)
Sets the value of newBagName- Parameters:
newBagName
- Value to assign to this.newBagName
-
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
-
getOperationButton
public java.lang.String getOperationButton()
- Returns:
- the operationButton
-
setOperationButton
public void setOperationButton(java.lang.String operationButton)
- Parameters:
operationButton
- the operationButton to set
-
-