Java Doc for FinderForm.java in  » J2EE » Jaffa » org » jaffa » components » finder » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Jaffa » org.jaffa.components.finder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jaffa.presentation.portlet.FormBase
   org.jaffa.components.finder.FinderForm

All known Subclasses:   org.jaffa.components.lookup.LookupForm,
FinderForm
abstract public class FinderForm extends FormBase (Code)
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.
author:
   GautamJ


Field Summary
final public static  StringEXPORT_TYPE
     A global constant for the exportType widget.
final public static  StringMAX_RECORDS
     A global constant for the maxRecords widget.
final public static  StringROWS
     A global constant for the rows widget.
final public static  StringSORT_DROP_DOWN
     A global constant for the sortDropDown widget.


Method Summary
public  booleandoValidate(HttpServletRequest request)
     This method should be invoked to ensure a valid state of the FormBean.
public  StringgetExportType()
     Getter for property exportType.
public  RadioButtonModelgetExportTypeWM()
     Getter for property exportType.
public  IntegergetMaxRecords()
     Getter for property maxRecords.
public  DropDownModelgetMaxRecordsWM()
     Getter for DropDown property maxRecords.
public  booleangetMoreRecordsExist()
     Getter for property moreRecordsExist.
public  LonggetNumberOfRecords()
     Getter for property numberOfRecords.
public  GridModelgetRowsWM()
     Getter for property rows.
public  StringgetSortDropDown()
     Getter for property sortDropDown.
public  DropDownModelgetSortDropDownWM()
     Getter for DropDown property sortDropDown.
abstract public  voidpopulateRows(GridModel rows)
     The FormBean should provide an implementation for this method.
public  voidsetExportType(String exportType)
     Setter for property exportType.
public  voidsetExportTypeWV(String value)
     Setter for property exportType.
public  voidsetMaxRecords(Integer maxRecords)
     Setter for property maxRecords.
public  voidsetMaxRecordsWV(String value)
     Setter for DropDown property maxRecords.
public  voidsetRowsWV(String value)
     Setter for property rows.
public  voidsetSortDropDown(String sortDropDown)
     Setter for property sortDropDown.
public  voidsetSortDropDownWV(String value)
     Setter for DropDown property sortDropDown.

Field Detail
EXPORT_TYPE
final public static String EXPORT_TYPE(Code)
A global constant for the exportType widget.



MAX_RECORDS
final public static String MAX_RECORDS(Code)
A global constant for the maxRecords widget.



ROWS
final public static String ROWS(Code)
A global constant for the rows widget.



SORT_DROP_DOWN
final public static String SORT_DROP_DOWN(Code)
A global constant for the sortDropDown widget.





Method Detail
doValidate
public boolean doValidate(HttpServletRequest request)(Code)
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 A true indicates validations went through successfully.



getExportType
public String getExportType()(Code)
Getter for property exportType. Value of property exportType.



getExportTypeWM
public RadioButtonModel getExportTypeWM()(Code)
Getter for property exportType. Value of property exportType.



getMaxRecords
public Integer getMaxRecords()(Code)
Getter for property maxRecords. Value of property maxRecords.



getMaxRecordsWM
public DropDownModel getMaxRecordsWM()(Code)
Getter for DropDown property maxRecords. Value of DropDown property maxRecords.



getMoreRecordsExist
public boolean getMoreRecordsExist()(Code)
Getter for property moreRecordsExist. Value of property moreRecordsExist.



getNumberOfRecords
public Long getNumberOfRecords()(Code)
Getter for property numberOfRecords. Value of property numberOfRecords.



getRowsWM
public GridModel getRowsWM()(Code)
Getter for property rows. This is invoked by the custom tag, when the jsp is rendered, to get the current value. This gets the current data from the component. Value of property userRef1.



getSortDropDown
public String getSortDropDown()(Code)
Getter for property sortDropDown. Value of property sortDropDown.



getSortDropDownWM
public DropDownModel getSortDropDownWM()(Code)
Getter for DropDown property sortDropDown. Value of DropDown property sortDropDown.



populateRows
abstract public void populateRows(GridModel rows)(Code)
The FormBean should provide an implementation for this method. This will populate the input GridModel with the data in the finderOutDto of the Component.
Parameters:
  rows - The GridModel object to populate.



setExportType
public void setExportType(String exportType)(Code)
Setter for property exportType.
Parameters:
  exportType - New value of property exportType.



setExportTypeWV
public void setExportTypeWV(String value)(Code)
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.



setMaxRecords
public void setMaxRecords(Integer maxRecords)(Code)
Setter for property maxRecords.
Parameters:
  maxRecords - New value of property maxRecords.



setMaxRecordsWV
public void setMaxRecordsWV(String value)(Code)
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.



setRowsWV
public void setRowsWV(String value)(Code)
Setter for property rows. This is invoked by the servlet, when a post is done on the Results screen. It sets the selected rows on the model.
Parameters:
  value - New value of property userRef1.



setSortDropDown
public void setSortDropDown(String sortDropDown)(Code)
Setter for property sortDropDown.
Parameters:
  sortDropDown - New value of property sortDropDown.



setSortDropDownWV
public void setSortDropDownWV(String value)(Code)
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.



Methods inherited from org.jaffa.presentation.portlet.FormBase
public void cleanup()(Code)(Java Doc)
public void clearErrors(HttpServletRequest request)(Code)(Java Doc)
public Component getComponent()(Code)(Java Doc)
public ActionErrors getErrors(HttpServletRequest request)(Code)(Java Doc)
public WidgetCache getWidgetCache()(Code)(Java Doc)
public boolean hasErrors(HttpServletRequest request)(Code)(Java Doc)
public void initForm()(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, ActionError error)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key, Object value0)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2, Object value3)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, String key, Object[] values)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, ApplicationException appExp)(Code)(Java Doc)
public void raiseError(HttpServletRequest request, String property, ApplicationExceptions appExps)(Code)(Java Doc)
public void reset(ActionMapping mapping, HttpServletRequest request)(Code)(Java Doc)
public void setComponent(Component component)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.