source: src/main/java/DAO/AdviceDAO.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: 437 bytes
RevLine 
[1eb7a55]1package DAO;
2
3import model.Advice;
4
5import java.sql.SQLException;
6import java.util.List;
7
8public interface AdviceDAO {
9
10 void save(Advice advice) throws SQLException;
11
12 void update(Advice advice) throws SQLException;
13
14 void delete(int studentId, int professorId) throws SQLException;
15
16 Advice getById(int studentId, int professorId) throws SQLException;
17
18 List<Advice> getAll() throws SQLException;
19
20}
Note: See TracBrowser for help on using the repository browser.