Package ejava.projects.edmv.dao
Interface VehicleDAO
-
- All Known Implementing Classes:
JDBCVehicleDAO
,JPAVehicleDAO
public interface VehicleDAO
This interface provides a _sparse_ example of methods that are provided by a DAO providing a mapping to the DB.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createRegistration(VehicleRegistration registration)
List<VehicleRegistration>
getRegistrations(int index, int count)
-
-
-
Method Detail
-
createRegistration
void createRegistration(VehicleRegistration registration) throws DAOException
- Throws:
DAOException
-
getRegistrations
List<VehicleRegistration> getRegistrations(int index, int count) throws DAOException
- Throws:
DAOException
-
-