source: src/main/java/DAO/StudentDAO.java@ 1eb7a55

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
RevLine 
[1eb7a55]1package DAO;
2
3import model.Student;
4import model.Subject;
5
6import java.sql.SQLException;
7import java.util.List;
8
9public 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.