|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The ExportEngine defines the methods needed to export a row from a database.
| Method Summary | |
void |
cleanup()
Cleans up any resources that the export engine used to export data for the current entity definition. |
ColumnValue[] |
exportRow()
Export a row as a set of values from the database |
java.sql.Connection |
getConnection()
Returns the database connection to use for exporting the row. |
void |
init()
Initializes the export engine with the current entity definition. |
void |
setConnection(java.sql.Connection con)
Sets the database connection to use for exporting the row. |
void |
setEntityDef(ExportEntityDef entityDef)
Sets the entity definition to use for exporting the row |
| Method Detail |
public void setConnection(java.sql.Connection con)
con - database connectionpublic java.sql.Connection getConnection()
public void setEntityDef(ExportEntityDef entityDef)
entityDef - entity definition
public void init()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs during initialization
public void cleanup()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs during cleanup
public ColumnValue[] exportRow()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs during the export
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||