|
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 | |
|---|
| 1 | package DAO;
|
|---|
| 2 |
|
|---|
| 3 | import model.Professor;
|
|---|
| 4 | import model.Student;
|
|---|
| 5 |
|
|---|
| 6 | import java.sql.SQLException;
|
|---|
| 7 | import java.util.List;
|
|---|
| 8 | import java.util.Map;
|
|---|
| 9 |
|
|---|
| 10 | public 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.