source:
src/main/java/DAO/ProfessorSubjectDAO.java
| Last change on this file was 1eb7a55, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 465 bytes | |
| Rev | Line | |
|---|---|---|
| [1eb7a55] | 1 | package DAO; |
| 2 | ||
| 3 | import model.Professor; | |
| 4 | import model.Subject; | |
| 5 | import java.sql.SQLException; | |
| 6 | import java.util.List; | |
| 7 | ||
| 8 | public interface ProfessorSubjectDAO { | |
| 9 | void assign(Long professor_id, Long subject_id) throws SQLException; | |
| 10 | ||
| 11 | void remove(Long professor_id, Long subject_id) throws SQLException; | |
| 12 | ||
| 13 | List<Professor> getProfessorsBySubject(Long subject_id) throws SQLException; | |
| 14 | ||
| 15 | List<Subject> getSubjectsByProfessor(Long professor_id) throws SQLException; | |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.
