|
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
|
| Rev | Line | |
|---|
| [1eb7a55] | 1 | package service;
|
|---|
| 2 |
|
|---|
| 3 | import model.Faculty;
|
|---|
| 4 | import model.University;
|
|---|
| 5 |
|
|---|
| 6 | import java.sql.SQLException;
|
|---|
| 7 | import java.util.List;
|
|---|
| 8 |
|
|---|
| 9 | public 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.