gov.noaa.pmel.tmap
Class SearchFormBean
java.lang.Object
|
+--gov.noaa.pmel.tmap.AbstractFormBean
|
+--gov.noaa.pmel.tmap.SearchFormBean
- All Implemented Interfaces:
- FormBean
- public class SearchFormBean
- extends AbstractFormBean
|
Method Summary |
void |
handle()
Handle the form. |
void |
init(HttpServletRequest req)
Initializes the FormBean |
boolean |
isValid(java.lang.String nextUrl)
Validate form parameters |
java.lang.String |
nextURL()
next URL to use after the form has been processed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchFormBean
public SearchFormBean()
isValid
public boolean isValid(java.lang.String nextUrl)
throws ServletException,
java.sql.SQLException
- Description copied from interface:
FormBean
- Validate form parameters
- Specified by:
isValid in interface FormBean- Specified by:
isValid in class AbstractFormBean
- Parameters:
nextUrl - nextUrl to visit after form has been processed
- Returns:
- true if form parameters valid
ServletException
java.sql.SQLException
init
public void init(HttpServletRequest req)
throws ServletException,
java.sql.SQLException
- Description copied from interface:
FormBean
- Initializes the FormBean
- Specified by:
init in interface FormBean- Overrides:
init in class AbstractFormBean
- Parameters:
req - the servlet requrest
ServletException
java.sql.SQLException
handle
public void handle()
throws ServletException,
java.sql.SQLException
- Description copied from interface:
FormBean
- Handle the form. Logic for storing any state, etc. should go here
- Specified by:
handle in interface FormBean- Specified by:
handle in class AbstractFormBean
ServletException
java.sql.SQLException
nextURL
public java.lang.String nextURL()
throws ServletException,
java.sql.SQLException
- Description copied from interface:
FormBean
- next URL to use after the form has been processed
- Specified by:
nextURL in interface FormBean- Specified by:
nextURL in class AbstractFormBean
- Returns:
- next URL to use after the form has been processed
ServletException
java.sql.SQLException