|
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:
531 bytes
|
| Rev | Line | |
|---|
| [1eb7a55] | 1 | package DAO;
|
|---|
| 2 |
|
|---|
| 3 | import model.Student;
|
|---|
| 4 | import model.Subject;
|
|---|
| 5 |
|
|---|
| 6 | import java.sql.SQLException;
|
|---|
| 7 | import java.util.List;
|
|---|
| 8 |
|
|---|
| 9 | public interface StudentDAO {
|
|---|
| 10 |
|
|---|
| 11 | List<Student> getAll() throws SQLException;
|
|---|
| 12 |
|
|---|
| 13 | List<Student> getStudentsWithOddLengthNames() throws SQLException;
|
|---|
| 14 |
|
|---|
| 15 | Student getStudentById(Long id) throws SQLException;
|
|---|
| 16 |
|
|---|
| 17 | Student getByID(Long id) throws SQLException;
|
|---|
| 18 |
|
|---|
| 19 | void update(Student student) throws SQLException;
|
|---|
| 20 |
|
|---|
| 21 | void save(Student student) throws SQLException;
|
|---|
| 22 |
|
|---|
| 23 | void delete(Long id) throws SQLException;
|
|---|
| 24 |
|
|---|
| 25 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.