Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.andyshon;
- import java.sql.SQLException;
- import java.util.Collection;
- /**
- * Created by andys_000 on 03.10.2017.
- */
- public interface DriverDAO {
- public void addDriver(Driver driver) throws SQLException;
- public void updateDriver(int driver_id, Driver driver) throws SQLException;
- public Driver getDriverById(int driver_id) throws SQLException;
- public Collection getAllDrivers() throws SQLException;
- public void deleteDriver(Driver driver) throws SQLException;
- Collection getDriversByBus(Bus bus) throws SQLException;
- //public Collection getBussesByDriver(Driver driver) throws SQLException;
- //public Collection getBussesByRoute(Route route) throws SQLException;
- }
Add Comment
Please, Sign In to add comment