|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
org.sigpath.form.SpecifyPagedResults
org.sigpath.form.SpecifyMoleculeSearch
public final class SpecifyMoleculeSearch
Form bean for Specifying a Molecule Search. There are three fields on this page:
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.ActionForm |
|---|
multipartRequestHandler, servlet |
| Constructor Summary | |
|---|---|
SpecifyMoleculeSearch()
|
|
| Method Summary | |
|---|---|
Map |
getAllParameters()
Get all name/value pairs used by this form. |
String |
getCategory()
Get the Search Category. |
String |
getFormat()
Gets the Format Specifier. |
String |
getKeyword()
Get the Search Keyword. |
String |
getOrganism()
Get the Organism. |
String |
getOtherOrganism()
Get the other Organism. |
String |
getResultsPP()
Get the resultsPP. |
String |
getReturnCollection()
Indicates a collection of results should be returned. |
String |
getShowComplexCategory()
|
String |
getShowProteinCategory()
|
String |
getShowSmallMoleculeCategory()
|
int |
getStartIndex()
Get the Start Index for Search Results. |
String |
getView()
Get the view. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Reset all properties to their default values. |
void |
setCategory(String category)
Set the Search Category. |
void |
setFormat(String format)
Sets the Format Specifier. |
void |
setKeyword(String keyword)
Set the Search Keyword. |
void |
setOrganism(String organism)
Set the Organism. |
void |
setOtherOrganism(String otherOrganism)
Set the other Organism. |
void |
setResultsPP(String resultsPP)
Set the resultsPP. |
void |
setReturnCollection(String returnCollection)
Indicate that a collection of results should be returned. |
void |
setShowComplexCategory(String value)
|
void |
setShowProteinCategory(String value)
|
void |
setShowSmallMoleculeCategory(String value)
|
void |
setStartIndex(int startIndex)
Sets the Start Index for Search Results. |
void |
setView(String view)
Set the view. |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
|---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpecifyMoleculeSearch()
| Method Detail |
|---|
public String getReturnCollection()
public void setReturnCollection(String returnCollection)
returnCollection - A string representation of a boolean value.public String getKeyword()
public void setKeyword(String keyword)
keyword - the search keywordpublic String getCategory()
public void setCategory(String category)
category - the search categorypublic int getStartIndex()
getStartIndex in class SpecifyPagedResultspublic void setFormat(String format)
format - public String getFormat()
public void setStartIndex(int startIndex)
setStartIndex in class SpecifyPagedResultsstartIndex - integer indicating the current index within search
results.public String getOrganism()
public void setOrganism(String organism)
organism - the organism to search forpublic String getOtherOrganism()
public void setOtherOrganism(String otherOrganism)
otherOrganism - the alternative organism to search forpublic String getResultsPP()
public void setResultsPP(String resultsPP)
resultsPP - number of results per pagepublic String getView()
public void setView(String view)
view - format to display results in eg: xmlpublic void setShowSmallMoleculeCategory(String value)
public String getShowSmallMoleculeCategory()
public void setShowProteinCategory(String value)
public String getShowProteinCategory()
public void setShowComplexCategory(String value)
public String getShowComplexCategory()
public void reset(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
reset in class org.apache.struts.action.ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionErrors object with no
recorded error messages.
validate in class org.apache.struts.action.ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
public Map getAllParameters()
getAllParameters in class SpecifyPagedResults
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||