source: src/main/java/DAO/ProfessorSubjectDAO.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: 465 bytes
Line 
1package DAO;
2
3import model.Professor;
4import model.Subject;
5import java.sql.SQLException;
6import java.util.List;
7
8public 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.