|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for data access object that is responsible for persisting the current account business bean. This interface design follows the CRUDS idiom ( Create, Retrieve, Update, Delete and Search ).
| 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 ) |
CurrentAccountBean |
retrieve(CurrentAccountBean account)
Reads the current account by its primary key (account id ) |
void |
update(CurrentAccountBean account)
Updates account records into the database |
| Method Detail |
public void create(CurrentAccountBean account)
throws java.sql.SQLException
account - the account bean
java.sql.SQLException - if a database persistence I/O problem occurs
public CurrentAccountBean retrieve(CurrentAccountBean account)
throws java.sql.SQLException
account - 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
account - the account bean
java.sql.SQLException - if a database persistence I/O problem occurs
public void delete(CurrentAccountBean account)
throws java.sql.SQLException
java.sql.SQLException - if a database persistence I/O problem occurs
public java.util.List findAll()
throws java.sql.SQLException
java.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 | |||||||||