source: src/main/java/service/FacultyService.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: 493 bytes
RevLine 
[1eb7a55]1package service;
2
3import model.Faculty;
4import model.University;
5
6import java.sql.SQLException;
7import java.util.List;
8
9public interface FacultyService {
10
11 List<Faculty> getAllFaculty() throws SQLException;
12
13 public interface UniversityService {
14 List<University> getAllUniversities() throws SQLException;
15 }
16
17 Faculty getById(Long id) throws SQLException;
18
19 void update(Faculty faculty);
20
21 void delete(Long id) throws SQLException;
22
23 void save(Faculty faculty);
24}
Note: See TracBrowser for help on using the repository browser.