| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
org.jaffa.presentation.portlet.FormBase
org.jaffa.components.finder.FinderForm
This is the base class for all FinderComponent FormBeans. It has the following properties to support the Criteria Screen - 1- sortDropDown : The sort criteria to use for the inquiry 2- exportType : The export option to use for the inquiry (initialized to regular Web Pages) 3- maxRecords: The maximum number of records to retrieve. This will be initialized to the first value in the option list. It has the following properties to support the Results Screen - 1- rows : This GridModel object will be used for displaying the data in the Results screen 2- moreRecordsExist : This indicates if more records will be retrieved, if the query is done by using a higher value for the maxRecords dropdown. A Finder FormBean will have to provide an implementation for the populateRows() method.
| Field Summary | |
| static String | EXPORT_TYPEA global constant for the exportType widget. | 
| static String | MAX_RECORDSA global constant for the maxRecords widget. | 
| static String | ROWSA global constant for the rows widget. | 
| static String | SORT_DROP_DOWNA global constant for the sortDropDown widget. | 
| Fields inherited from class org.apache.struts.action.ActionForm | 
| multipartRequestHandler, servlet | 
| Constructor Summary | |
| FinderForm() | |
| Method Summary | |
|  boolean | doValidate(HttpServletRequest request)This method should be invoked to ensure a valid state of the FormBean. | 
|  String | getExportType()Getter for property exportType. | 
|  RadioButtonModel | getExportTypeWM()Getter for property exportType. | 
|  Integer | getMaxRecords()Getter for property maxRecords. | 
|  DropDownModel | getMaxRecordsWM()Getter for DropDown property maxRecords. | 
|  boolean | getMoreRecordsExist()Getter for property moreRecordsExist. | 
|  Long | getNumberOfRecords()Getter for property numberOfRecords. | 
|  GridModel | getRowsWM()Getter for property rows. | 
|  String | getSortDropDown()Getter for property sortDropDown. | 
|  DropDownModel | getSortDropDownWM()Getter for DropDown property sortDropDown. | 
| abstract  void | populateRows(GridModel rows)The FormBean should provide an implementation for this method. | 
|  void | setExportType(String exportType)Setter for property exportType. | 
|  void | setExportTypeWV(String value)Setter for property exportType. | 
|  void | setMaxRecords(Integer maxRecords)Setter for property maxRecords. | 
|  void | setMaxRecordsWV(String value)Setter for DropDown property maxRecords. | 
|  void | setRowsWV(String value)Setter for property rows. | 
|  void | setSortDropDown(String sortDropDown)Setter for property sortDropDown. | 
|  void | setSortDropDownWV(String value)Setter for DropDown property sortDropDown. | 
| Methods inherited from class org.jaffa.presentation.portlet.FormBase | 
| cleanup, clearErrors, getComponent, getErrors, getWidgetCache, hasErrors, initForm, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, raiseError, reset, setComponent | 
| Methods inherited from class org.apache.struts.action.ActionForm | 
| getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String SORT_DROP_DOWN
public static final String EXPORT_TYPE
public static final String MAX_RECORDS
public static final String ROWS
| Constructor Detail | 
public FinderForm()
| Method Detail | 
public String getSortDropDown()
public void setSortDropDown(String sortDropDown)
sortDropDown - New value of property sortDropDown.public DropDownModel getSortDropDownWM()
public void setSortDropDownWV(String value)
value - New value of DropDown property sortDropDown.public String getExportType()
public void setExportType(String exportType)
exportType - New value of property exportType.public RadioButtonModel getExportTypeWM()
public void setExportTypeWV(String value)
value - New value of property exportType.public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - New value of property maxRecords.public DropDownModel getMaxRecordsWM()
public void setMaxRecordsWV(String value)
value - New value of DropDown property maxRecords.public boolean doValidate(HttpServletRequest request)
request - The request stream
public GridModel getRowsWM()
public void setRowsWV(String value)
value - New value of property userRef1.public boolean getMoreRecordsExist()
public Long getNumberOfRecords()
public abstract void populateRows(GridModel rows)
rows - The GridModel object to populate.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||