package DAO; import model.Professor; import model.Subject; import java.sql.SQLException; import java.util.List; public interface ProfessorSubjectDAO { void assign(Long professor_id, Long subject_id) throws SQLException; void remove(Long professor_id, Long subject_id) throws SQLException; List getProfessorsBySubject(Long subject_id) throws SQLException; List getSubjectsByProfessor(Long professor_id) throws SQLException; }