package DAO; import model.Professor; import model.Student; import java.sql.SQLException; import java.util.List; import java.util.Map; public interface ProfessorDAO { List getall() throws SQLException; List getAllSortedById() throws SQLException; Map findAverageAgeByFaculty(); Map findProfessorCountBySubject(); List findStudentsByUniversityId(int universityId); List findStudentsByFacultyId(int facultyId); java.util.Map findCompletedSemesterGPA(); java.util.List> findTopPerformersByEnrollmentYear(); Professor getByID(Long id) throws SQLException; void update(Professor professor) throws SQLException; void save(Professor professor) throws SQLException; void delete(Long id); }