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