org.jaffa.components.finder
Class FinderCriteriaForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.jaffa.presentation.portlet.FormBase
          extended byorg.jaffa.components.finder.FinderCriteriaForm
All Implemented Interfaces:
Serializable

Deprecated. This class is required by the object_finder_1_0 pattern. The object_finder_2_0 pattern has made this class redundant.

public abstract class FinderCriteriaForm
extends FormBase

This is the base class for all FinderComponent FormBeans. It has the following properties - 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.

Author:
GautamJ
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FinderCriteriaForm()
          Deprecated.  
 
Method Summary
 boolean doValidate(HttpServletRequest request)
          Deprecated. This method should be invoked to ensure a valid state of the FormBean.
 String getExportType()
          Deprecated. Getter for property exportType.
 RadioButtonModel getExportTypeWM()
          Deprecated. Getter for property exportType.
 Integer getMaxRecords()
          Deprecated. Getter for property maxRecords.
 DropDownModel getMaxRecordsWM()
          Deprecated. Getter for DropDown property maxRecords.
 String getSortDropDown()
          Deprecated. Getter for property sortDropDown.
 DropDownModel getSortDropDownWM()
          Deprecated. Getter for DropDown property sortDropDown.
 void setExportType(String exportType)
          Deprecated. Setter for property exportType.
 void setExportTypeWV(String value)
          Deprecated. Setter for property exportType.
 void setMaxRecords(Integer maxRecords)
          Deprecated. Setter for property maxRecords.
 void setMaxRecordsWV(String value)
          Deprecated. Setter for DropDown property maxRecords.
 void setSortDropDown(String sortDropDown)
          Deprecated. Setter for property sortDropDown.
 void setSortDropDownWV(String value)
          Deprecated. 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
 

Constructor Detail

FinderCriteriaForm

public FinderCriteriaForm()
Deprecated. 
Method Detail

getSortDropDown

public String getSortDropDown()
Deprecated. 
Getter for property sortDropDown.

Returns:
Value of property sortDropDown.

setSortDropDown

public void setSortDropDown(String sortDropDown)
Deprecated. 
Setter for property sortDropDown.

Parameters:
sortDropDown - New value of property sortDropDown.

getSortDropDownWM

public DropDownModel getSortDropDownWM()
Deprecated. 
Getter for DropDown property sortDropDown.

Returns:
Value of DropDown property sortDropDown.

setSortDropDownWV

public void setSortDropDownWV(String value)
Deprecated. 
Setter for DropDown property sortDropDown. This is invoked by the servlet, when a post is done on the Criteria screen.

Parameters:
value - New value of DropDown property sortDropDown.

getExportType

public String getExportType()
Deprecated. 
Getter for property exportType.

Returns:
Value of property exportType.

setExportType

public void setExportType(String exportType)
Deprecated. 
Setter for property exportType.

Parameters:
exportType - New value of property exportType.

getExportTypeWM

public RadioButtonModel getExportTypeWM()
Deprecated. 
Getter for property exportType.

Returns:
Value of property exportType.

setExportTypeWV

public void setExportTypeWV(String value)
Deprecated. 
Setter for property exportType. This is invoked by the servlet, when a post is done on the Criteria screen.

Parameters:
value - New value of property exportType.

getMaxRecords

public Integer getMaxRecords()
Deprecated. 
Getter for property maxRecords.

Returns:
Value of property maxRecords.

setMaxRecords

public void setMaxRecords(Integer maxRecords)
Deprecated. 
Setter for property maxRecords.

Parameters:
maxRecords - New value of property maxRecords.

getMaxRecordsWM

public DropDownModel getMaxRecordsWM()
Deprecated. 
Getter for DropDown property maxRecords.

Returns:
Value of DropDown property maxRecords.

setMaxRecordsWV

public void setMaxRecordsWV(String value)
Deprecated. 
Setter for DropDown property maxRecords. This is invoked by the servlet, when a post is done on the Criteria screen.

Parameters:
value - New value of DropDown property maxRecords.

doValidate

public boolean doValidate(HttpServletRequest request)
Deprecated. 
This method should be invoked to ensure a valid state of the FormBean. It will validate the data in the models and set the corresponding properties. Errors will be raised in the FormBean, if any validation fails.

Parameters:
request - The request stream
Returns:
A true indicates validations went through successfully.


Copyright © 2002-2004 JAFFA Project.