1 package ejava.projects.edmv.dao;
2
3 import java.util.List;
4
5 import ejava.projects.edmv.bo.VehicleRegistration;
6
7 /**
8 * This interface provides a _sparse_ example of methods that are provided
9 * by a DAO providing a mapping to the DB.
10 *
11 */
12 public interface VehicleDAO {
13 void createRegistration(VehicleRegistration registration)
14 throws DAOException;
15 List<VehicleRegistration> getRegistrations(int index, int count)
16 throws DAOException;
17 }