public class BookSearchForm
extends org.apache.struts.action.ActionForm
Constructor and Description |
---|
BookSearchForm() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorLastName() |
ArrayList<Location> |
getLocations() |
String |
getQueryType() |
String |
getSelector() |
ArrayList<Subject> |
getSubjectList()
Getter for property subjectList.
|
String |
getSubjectListString() |
ArrayList<Subject> |
getSubjects() |
String |
getSubjectString() |
String |
getTitle() |
void |
setAuthorLastName(String authorLastName) |
void |
setLocations(ArrayList<Location> locations) |
void |
setQueryType(String queryType) |
void |
setSelector(String selector) |
void |
setSubjectList(ArrayList<Subject> subjectList)
Setter for property subjectList.
|
void |
setSubjects(ArrayList<Subject> subjects) |
void |
setSubjectString(String inString)
todo -- replace with generic function
|
void |
setTitle(String title) |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.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. |
public String getAuthorLastName()
public void setAuthorLastName(String authorLastName)
public String getQueryType()
public void setQueryType(String queryType)
public String getSelector()
public void setSelector(String selector)
public String getSubjectString()
public String getSubjectListString()
public void setSubjectString(String inString)
public String getTitle()
public void setTitle(String title)
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.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.LibraryMgr.subjectExists()
to validate subjectsvalidate
in class org.apache.struts.action.ActionForm
mapping
- The mapping used to select this instancerequest
- The servlet request we are processingpublic ArrayList<Subject> getSubjectList()
public void setSubjectList(ArrayList<Subject> subjectList)
subjectList
- New value of property subjectList.Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.