|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.test.aop.transaction.CurrentAccountDAO
Current account data access object
| Field Summary | |
protected java.sql.Connection |
connection
Injected Connection instance by the transaction interceptor |
| Constructor Summary | |
CurrentAccountDAO()
Default constructor, required |
|
| Method Summary | |
void |
create(CurrentAccountBean account)
Insert a new saving account records into the database |
void |
delete(CurrentAccountBean account)
Delete a saving account records from the database |
java.util.List |
findAll()
Reads the current account by its primary key (account id ) |
java.sql.Connection |
getConnection()
Gets the connection |
CurrentAccountBean |
retrieve(CurrentAccountBean account)
Reads the current account by its primary key (account id ) |
void |
setConnection(java.sql.Connection connection)
Sets the connection |
void |
update(CurrentAccountBean account)
Updates account records into the database |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.sql.Connection connection
| Constructor Detail |
public CurrentAccountDAO()
| Method Detail |
public java.sql.Connection getConnection()
public void setConnection(java.sql.Connection connection)
connection - the new value for connection
public void create(CurrentAccountBean account)
throws java.sql.SQLException
create in interface ICurrentAccountDAOaccount - the account bean
java.sql.SQLException - if a database persistence I/O problem occurs
public CurrentAccountBean retrieve(CurrentAccountBean account)
throws java.sql.SQLException
retrieve in interface ICurrentAccountDAOaccount - the account bean with the account id
java.sql.SQLException - if a database persistence I/O problem occurs
public void update(CurrentAccountBean account)
throws java.sql.SQLException
update in interface ICurrentAccountDAOaccount - the account bean
java.sql.SQLException - if a database persistence I/O problem occurs
public void delete(CurrentAccountBean account)
throws java.sql.SQLException
delete in interface ICurrentAccountDAOjava.sql.SQLException - if a database persistence I/O problem occurs
public java.util.List findAll()
throws java.sql.SQLException
findAll in interface ICurrentAccountDAOjava.sql.SQLException - if a database persistence I/O problem occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||