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