source: src/main/java/service/ProfessorSubjectService.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: 514 bytes
RevLine 
[1eb7a55]1package service;
2
3import model.Professor;
4import model.Subject;
5import java.sql.SQLException;
6import java.util.List;
7
8public interface ProfessorSubjectService {
9
10 void assignProfessorToSubject(Long professor_id, Long subject_id) throws SQLException;
11
12 void removeProfessorFromSubject(Long professor_id, Long subject_id) throws SQLException;
13
14 List<Professor> getProfessorsForSubject(Long subject_id) throws SQLException;
15
16 List<Subject> getSubjectsForProfessor(Long professor_id) throws SQLException;
17}
Note: See TracBrowser for help on using the repository browser.