package service; import model.Professor; import model.Subject; import java.sql.SQLException; import java.util.List; public interface ProfessorSubjectService { void assignProfessorToSubject(Long professor_id, Long subject_id) throws SQLException; void removeProfessorFromSubject(Long professor_id, Long subject_id) throws SQLException; List getProfessorsForSubject(Long subject_id) throws SQLException; List getSubjectsForProfessor(Long professor_id) throws SQLException; }