package service; import model.Faculty; import model.University; import java.sql.SQLException; import java.util.List; public interface FacultyService { List getAllFaculty() throws SQLException; public interface UniversityService { List getAllUniversities() throws SQLException; } Faculty getById(Long id) throws SQLException; void update(Faculty faculty); void delete(Long id) throws SQLException; void save(Faculty faculty); }