|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.grants.apply.dao.GetOpportunityListDao
Constructor Summary | |
GetOpportunityListDao()
|
Method Summary | |
int |
countAll(java.sql.Connection conn)
coutAll-method. |
void |
create(java.sql.Connection conn,
GetOpportunityList valueObject)
create-method. |
protected int |
databaseUpdate(java.sql.Connection conn,
java.sql.PreparedStatement stmt)
databaseUpdate-method. |
void |
delete(java.sql.Connection conn,
GetOpportunityList valueObject)
delete-method. |
void |
deleteAll(java.sql.Connection conn)
deleteAll-method. |
java.lang.String |
getDaogenVersion()
getDaogenVersion will return information about generator which created these sources. |
protected java.util.List |
listQuery(java.sql.Connection conn,
java.sql.PreparedStatement stmt)
databaseQuery-method. |
void |
load(java.sql.Connection conn,
GetOpportunityList valueObject)
load-method. |
java.util.List |
loadAll(java.sql.Connection conn)
LoadAll-method. |
void |
save(java.sql.Connection conn,
GetOpportunityList valueObject)
save-method. |
java.util.List |
searchMatching(java.sql.Connection conn,
GetOpportunityList valueObject)
searchMatching-Method. |
protected void |
singleQuery(java.sql.Connection conn,
java.sql.PreparedStatement stmt,
GetOpportunityList valueObject)
databaseQuery-method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GetOpportunityListDao()
Method Detail |
public void load(java.sql.Connection conn, GetOpportunityList valueObject) throws java.sql.SQLException
conn
- This method requires working database connection.valueObject
- This parameter contains the class instance to be loaded.
Primary-key field must be set for this to work properly.
java.sql.SQLException
public java.util.List loadAll(java.sql.Connection conn) throws java.sql.SQLException
conn
- This method requires working database connection.
java.sql.SQLException
public void create(java.sql.Connection conn, GetOpportunityList valueObject) throws java.sql.SQLException
conn
- This method requires working database connection.valueObject
- This parameter contains the class instance to be created. If
automatic surrogate-keys are not used the Primary-key field
must be set for this to work properly.
java.sql.SQLException
public void save(java.sql.Connection conn, GetOpportunityList valueObject) throws NotFoundException, java.sql.SQLException
conn
- This method requires working database connection.valueObject
- This parameter contains the class instance to be saved.
Primary-key field must be set for this to work properly.
NotFoundException
java.sql.SQLException
public void delete(java.sql.Connection conn, GetOpportunityList valueObject) throws java.sql.SQLException
conn
- This method requires working database connection.valueObject
- This parameter contains the class instance to be deleted.
Primary-key field must be set for this to work properly.
java.sql.SQLException
public void deleteAll(java.sql.Connection conn) throws java.sql.SQLException
conn
- This method requires working database connection.
java.sql.SQLException
public int countAll(java.sql.Connection conn) throws java.sql.SQLException
conn
- This method requires working database connection.
java.sql.SQLException
public java.util.List searchMatching(java.sql.Connection conn, GetOpportunityList valueObject) throws java.sql.SQLException
conn
- This method requires working database connection.valueObject
- This parameter contains the class instance where search will
be based. Primary-key field should not be set.
java.sql.SQLException
public java.lang.String getDaogenVersion()
protected int databaseUpdate(java.sql.Connection conn, java.sql.PreparedStatement stmt) throws java.sql.SQLException
conn
- This method requires working database connection.stmt
- This parameter contains the SQL statement to be excuted.
java.sql.SQLException
protected void singleQuery(java.sql.Connection conn, java.sql.PreparedStatement stmt, GetOpportunityList valueObject) throws java.sql.SQLException
conn
- This method requires working database connection.stmt
- This parameter contains the SQL statement to be excuted.valueObject
- Class-instance where resulting data will be stored.
java.sql.SQLException
protected java.util.List listQuery(java.sql.Connection conn, java.sql.PreparedStatement stmt) throws java.sql.SQLException
conn
- This method requires working database connection.stmt
- This parameter contains the SQL statement to be excuted.
java.sql.SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |