Package ejava.projects.edmv.dao
Interface PersonDAO
-
- All Known Implementing Classes:
JDBCPersonDAO
,JPAPersonDAO
public interface PersonDAO
This interface provides a _sparse_ example of the methods offered by a DAO supplying O/R mapping to the DB.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createPerson(Person person)
List<Person>
getPeople(int index, int count)
Person
getPerson(long id)
-
-
-
Method Detail
-
createPerson
void createPerson(Person person) throws DAOException
- Throws:
DAOException
-
getPerson
Person getPerson(long id) throws DAOException
- Throws:
DAOException
-
getPeople
List<Person> getPeople(int index, int count) throws DAOException
- Throws:
DAOException
-
-