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 RouteDAO {
- public void addRoute(Route route) throws SQLException;
- public void updateRoute(int route_id, Route route) throws SQLException;
- public Route getRouteById(int route_id) throws SQLException;
- public Collection getAllRoutes() throws SQLException;
- public void deleteRoute(Route route) throws SQLException;
- }
Add Comment
Please, Sign In to add comment