|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.data.DataAbstract
com.zphinx.spine.data.impl.AbstractDataBaseDAO
public abstract class AbstractDataBaseDAO
AbstractDataBaseDAO is the abstract implementation of DataAbstract which uses a database for its persistence layer.
DataAccessObjects which use a database should extend this class
Copyright ©Zphinx Software Solutions
| Constructor Summary | |
|---|---|
AbstractDataBaseDAO()
Public Constructor |
|
| Method Summary | |
|---|---|
boolean |
close()
Closes the database connection |
protected DataPack |
createDataPack(int i,
String tableName,
String setClause)
Creates a DataPack |
protected Connection |
getConnection()
Gets a Connection object |
void |
setConnection(Connection myConnection)
Sets the connection for use by AbstractDataBaseDAO objects |
| Methods inherited from class com.zphinx.spine.data.DataAbstract |
|---|
fetchData, getErrors, getStoreType, setErrors, setStoreType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDataBaseDAO()
| Method Detail |
|---|
public void setConnection(Connection myConnection)
DataBaseHelper
setConnection in interface DataBaseHelperprotected Connection getConnection()
protected DataPack createDataPack(int i,
String tableName,
String setClause)
i - The size of the dataPack to createtableName - The name of the table to accesssetClause - The setClause within the prepared statement
public boolean close()
close in interface DataAccessObjectclose in class DataAbstract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||