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 02.10.2017.
- */
- public interface BusDAO {
- public void addBus(Bus bus) throws SQLException;
- public void updateBus(int bus_id, Bus bus) throws SQLException;
- public Bus getBusById(int bus_id) throws SQLException;
- public Collection getAllBusses() throws SQLException;
- public void deleteBus(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