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