|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomerDaoBase
CustomerDaoBaseData Access Object (DAO). Responsible for accessing database.
| Method Summary | |
|---|---|
Customer |
add(Customer object)
Adds a new Customer to the database |
void |
delete(Customer object)
Deletes a Customer from the database. |
java.util.List<Customer> |
listAllCustomers()
Selects all Customers from the database. |
Customer |
retrieve(long id)
Retrieves a Customer by its ID from the database. |
Customer |
update(Customer object)
Stores/Updates the Customer in the database. |
| Method Detail |
|---|
Customer retrieve(long id)
id - id of the Customer to retrieve.
Customer add(Customer object)
object - the Customer to add to the database.
Customer update(Customer object)
object - the Customer to store/update
void delete(Customer object)
object - the Customer to deletejava.util.List<Customer> listAllCustomers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||