source:
src/main/java/service/ProfessorService.java
| Last change on this file was 1eb7a55, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 353 bytes | |
| Rev | Line | |
|---|---|---|
| [1eb7a55] | 1 | package service; |
| 2 | ||
| 3 | import model.Professor; | |
| 4 | ||
| 5 | import java.sql.SQLException; | |
| 6 | import java.util.List; | |
| 7 | ||
| 8 | public interface ProfessorService { | |
| 9 | ||
| 10 | List<Professor> getAllProfessors() throws SQLException; | |
| 11 | ||
| 12 | Professor getById(Long id) throws SQLException; | |
| 13 | ||
| 14 | void update(Professor professor); | |
| 15 | ||
| 16 | void delete(Long id); | |
| 17 | ||
| 18 | void save(Professor professor); | |
| 19 | ||
| 20 | } |
Note:
See TracBrowser
for help on using the repository browser.
