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< Record > | getRecords () throws ResourceUnavailableException, SQLException |
Method used to retrieve a list of Record s 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< Record > | records = new ArrayList<Record>() |
ArrayList containing Records. |
Definition at line 28 of file JdbcTableRecordSet.java.
void dochelper.JdbcTableRecordSet.initImpl | ( | ) | throws SQLException, ResourceUnavailableException [protected, virtual] |
Subclass should implement this method.
SQLException | ||
ResourceUnavailableException |
Implements dochelper.AbstractTableRecordSet.
Definition at line 54 of file JdbcTableRecordSet.java.
void dochelper.JdbcTableRecordSet.checkParamsImpl | ( | ) | throws MissingArgumentException, InvalidValueException, ResourceUnavailableException [protected, virtual] |
Subclass should implement this method.
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 Record
s 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.
Record
objects. ResourceUnavailableException | ||
SQLException |
Implements dochelper.AbstractTableRecordSet.
Definition at line 106 of file JdbcTableRecordSet.java.
void dochelper.JdbcTableRecordSet.fetchRecords | ( | Connection | conn | ) | throws SQLException [protected] |
conn |
java.sql.SQLException |
Definition at line 115 of file JdbcTableRecordSet.java.
String dochelper.JdbcTableRecordSet.USER = "user" [protected] |
String dochelper.JdbcTableRecordSet.PASS = "pass" [protected] |
String dochelper.JdbcTableRecordSet.URL = "url" [protected] |
String dochelper.JdbcTableRecordSet.DRIVER = "driver" [protected] |
String dochelper.JdbcTableRecordSet.TABLE = "tablename" [protected] |
String dochelper.JdbcTableRecordSet.FIELDS = "fields" [protected] |
String dochelper.JdbcTableRecordSet.FILTER = "whereclause" [protected] |
ArrayList<Record> dochelper.JdbcTableRecordSet.records = new ArrayList<Record>() [private] |