Package ejava.projects.edmv.dao
Interface PersonDAO
-
- All Known Implementing Classes:
JDBCPersonDAO,JPAPersonDAO
public interface PersonDAOThis 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 voidcreatePerson(Person person)List<Person>getPeople(int index, int count)PersongetPerson(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
-
-