dochelper.JdbcTableRecordSet Class Reference

Inheritance diagram for dochelper.JdbcTableRecordSet:

Inheritance graph
[legend]
Collaboration diagram for dochelper.JdbcTableRecordSet:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

void initImpl () throws SQLException, ResourceUnavailableException
 Subclass should implement this method.
void checkParamsImpl () throws MissingArgumentException, InvalidValueException, ResourceUnavailableException
 Subclass should implement this method.
List< RecordgetRecords () throws ResourceUnavailableException, SQLException
 Method used to retrieve a list of Records for this RecordSet.
void fetchRecords (Connection conn) throws SQLException

Protected Attributes

String USER = "user"
 Param Keys: USER.
String PASS = "pass"
 Param Keys: PASS.
String URL = "url"
 Param Keys: URL.
String DRIVER = "driver"
 Param Keys: DRIVER.
String TABLE = "tablename"
 Param Keys: TABLE.
String FIELDS = "fields"
 Param Keys: FIELDS.
String FILTER = "whereclause"
 Param Keys: WHERE.

Private Attributes

ArrayList< Recordrecords = new ArrayList<Record>()
 ArrayList containing Records.


Detailed Description

Author:
gchristen

Definition at line 28 of file JdbcTableRecordSet.java.


Member Function Documentation

void dochelper.JdbcTableRecordSet.initImpl (  )  throws SQLException, ResourceUnavailableException [protected, virtual]

Subclass should implement this method.

Exceptions:
SQLException 
ResourceUnavailableException 

Implements dochelper.AbstractTableRecordSet.

Definition at line 54 of file JdbcTableRecordSet.java.

Here is the call graph for this function:

void dochelper.JdbcTableRecordSet.checkParamsImpl (  )  throws MissingArgumentException, InvalidValueException, ResourceUnavailableException [protected, virtual]

Subclass should implement this method.

Exceptions:
MissingArgumentException 
InvalidValueException 
ResourceUnavailableException 

Implements dochelper.AbstractTableRecordSet.

Definition at line 73 of file JdbcTableRecordSet.java.

List<Record> dochelper.JdbcTableRecordSet.getRecords (  )  throws ResourceUnavailableException, SQLException [protected, virtual]

Method used to retrieve a list of Records for this RecordSet.

Depending on implementation, this may mean the fetching a list that has been retrieved during initialization, or it may mean actually performing the database retrieveal operation.

Returns:
List of Record objects.
Exceptions:
ResourceUnavailableException 
SQLException 

Implements dochelper.AbstractTableRecordSet.

Definition at line 106 of file JdbcTableRecordSet.java.

void dochelper.JdbcTableRecordSet.fetchRecords ( Connection  conn  )  throws SQLException [protected]

Parameters:
conn 
Exceptions:
java.sql.SQLException 

Definition at line 115 of file JdbcTableRecordSet.java.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

String dochelper.JdbcTableRecordSet.USER = "user" [protected]

Param Keys: USER.

Definition at line 31 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.PASS = "pass" [protected]

Param Keys: PASS.

Definition at line 34 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.URL = "url" [protected]

Param Keys: URL.

Definition at line 37 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.DRIVER = "driver" [protected]

Param Keys: DRIVER.

Definition at line 40 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.TABLE = "tablename" [protected]

Param Keys: TABLE.

Definition at line 43 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.FIELDS = "fields" [protected]

Param Keys: FIELDS.

Definition at line 46 of file JdbcTableRecordSet.java.

String dochelper.JdbcTableRecordSet.FILTER = "whereclause" [protected]

Param Keys: WHERE.

Definition at line 49 of file JdbcTableRecordSet.java.

ArrayList<Record> dochelper.JdbcTableRecordSet.records = new ArrayList<Record>() [private]

ArrayList containing Records.

Definition at line 52 of file JdbcTableRecordSet.java.


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 14:22:06 2009 for DocHelper by  doxygen 1.5.6