|
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:
479 bytes
|
| Line | |
|---|
| 1 | package DAO;
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 | import model.University;
|
|---|
| 5 |
|
|---|
| 6 | import java.sql.SQLException;
|
|---|
| 7 | import java.util.List;
|
|---|
| 8 |
|
|---|
| 9 | public interface UniversityDAO {
|
|---|
| 10 |
|
|---|
| 11 | List<University> getAll() throws SQLException;
|
|---|
| 12 |
|
|---|
| 13 | List<University> getUniversitiesInSkopje() throws SQLException;
|
|---|
| 14 |
|
|---|
| 15 | University getByID(Long id) throws SQLException;
|
|---|
| 16 |
|
|---|
| 17 | void update(University university) throws SQLException;
|
|---|
| 18 |
|
|---|
| 19 | University save(University university) throws SQLException;
|
|---|
| 20 |
|
|---|
| 21 | void delete(Long id) throws SQLException;
|
|---|
| 22 |
|
|---|
| 23 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.