Package org.intermine.web.struts
Class ModifyTemplateForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.ModifyTemplateForm
-
- All Implemented Interfaces:
java.io.Serializable
public class ModifyTemplateForm extends org.apache.struts.action.ActionForm
Form bean used on the saved template form.- Author:
- Thomas Riley
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
pageName
protected java.lang.String[]
selected
protected java.lang.String
templateButton
-
Constructor Summary
Constructors Constructor Description ModifyTemplateForm()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPageName()
java.lang.String[]
getSelected()
Gets the selected templatesjava.lang.String
getTemplateButton()
void
initialise()
Initialiservoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form to the initial statevoid
setPageName(java.lang.String pageName)
void
setSelected(java.lang.String[] selected)
Sets the selected templatesvoid
setTemplateButton(java.lang.String templateButton)
org.apache.struts.action.ActionErrors
validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
initialise
public void initialise()
Initialiser
-
setSelected
public void setSelected(java.lang.String[] selected)
Sets the selected templates- Parameters:
selected
- the selected templates
-
getSelected
public java.lang.String[] getSelected()
Gets the selected templates- Returns:
- the selected templates
-
getPageName
public java.lang.String getPageName()
- Returns:
- the pageName
-
setPageName
public void setPageName(java.lang.String pageName)
- Parameters:
pageName
- the pageName to set
-
setTemplateButton
public void setTemplateButton(java.lang.String templateButton)
- Parameters:
templateButton
- the template button pressed
-
getTemplateButton
public java.lang.String getTemplateButton()
- Returns:
- the template button
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in classorg.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 classorg.apache.struts.action.ActionForm
- Parameters:
mapping
- the mappingrequest
- the request
-
-