|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdochelper.AbstractTableRecordSet
dochelper.JdbcTableRecordSet
public class JdbcTableRecordSet
Field Summary | |
---|---|
protected java.lang.String |
DRIVER
Param Keys: DRIVER. |
protected java.lang.String |
FIELDS
Param Keys: FIELDS. |
protected java.lang.String |
FILTER
Param Keys: WHERE. |
protected java.lang.String |
PASS
Param Keys: PASS. |
private java.util.ArrayList<Record> |
records
ArrayList containing Records. |
protected java.lang.String |
TABLE
Param Keys: TABLE. |
protected java.lang.String |
URL
Param Keys: URL. |
protected java.lang.String |
USER
Param Keys: USER. |
Fields inherited from class dochelper.AbstractTableRecordSet |
---|
params |
Constructor Summary | |
---|---|
JdbcTableRecordSet()
|
Method Summary | |
---|---|
protected void |
checkParamsImpl()
Subclass should implement this method |
protected void |
fetchRecords(java.sql.Connection conn)
|
protected java.util.List<Record> |
getRecords()
Method used to retrieve a list of Record s for this RecordSet. |
protected void |
initImpl()
Subclass should implement this method. |
Methods inherited from class dochelper.AbstractTableRecordSet |
---|
addPattern, checkParams, clearPatterns, execute, getName, init, setName, setParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String USER
protected java.lang.String PASS
protected java.lang.String URL
protected java.lang.String DRIVER
protected java.lang.String TABLE
protected java.lang.String FIELDS
protected java.lang.String FILTER
private java.util.ArrayList<Record> records
Constructor Detail |
---|
public JdbcTableRecordSet()
Method Detail |
---|
protected void initImpl() throws java.sql.SQLException, ResourceUnavailableException
AbstractTableRecordSet
initImpl
in class AbstractTableRecordSet
java.sql.SQLException
ResourceUnavailableException
protected void checkParamsImpl() throws MissingArgumentException, InvalidValueException, ResourceUnavailableException
AbstractTableRecordSet
checkParamsImpl
in class AbstractTableRecordSet
MissingArgumentException
InvalidValueException
ResourceUnavailableException
protected java.util.List<Record> getRecords() throws ResourceUnavailableException, java.sql.SQLException
AbstractTableRecordSet
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.
getRecords
in class AbstractTableRecordSet
Record
objects.
ResourceUnavailableException
java.sql.SQLException
protected void fetchRecords(java.sql.Connection conn) throws java.sql.SQLException
conn
-
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |