source: src/main/java/DAO/ProfessorDAO.java@ 1eb7a55

Last change on this file since 1eb7a55 was 1eb7a55, checked in by Elena Markovska <elena.elenamarkovska@…>, 11 days ago

Initial commit - Scholaris project code

  • Property mode set to 100644
File size: 865 bytes
Line 
1package DAO;
2
3import model.Professor;
4import model.Student;
5
6import java.sql.SQLException;
7import java.util.List;
8import java.util.Map;
9
10public interface ProfessorDAO {
11
12 List<Professor> getall() throws SQLException;
13
14 List<Professor> getAllSortedById() throws SQLException;
15
16 Map<String, Double> findAverageAgeByFaculty();
17
18 Map<String, Integer> findProfessorCountBySubject();
19
20 List<Student> findStudentsByUniversityId(int universityId);
21
22 List<Student> findStudentsByFacultyId(int facultyId);
23
24 java.util.Map<Integer, Double> findCompletedSemesterGPA();
25
26 java.util.List<java.util.Map<String, Object>> findTopPerformersByEnrollmentYear();
27
28 Professor getByID(Long id) throws SQLException;
29
30 void update(Professor professor) throws SQLException;
31
32 void save(Professor professor) throws SQLException;
33
34 void delete(Long id);
35
36}
Note: See TracBrowser for help on using the repository browser.