source: src/main/java/project/educatum/service/StudentService.java

Last change on this file was d3cf3a1, checked in by Marija Micevska <marija_micevska@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 900 bytes
Line 
1package project.educatum.service;
2
3import project.educatum.model.Student;
4import project.educatum.model.Teacher;
5
6import java.util.List;
7
8public interface StudentService {
9
10 void register(String name, String surname, String email, String password, String repeatPassword, String telNum, String desc);
11
12 List<Student> findAll();
13
14 Student findByEmail(String email);
15
16 List<Student> findAllByNameLike(String ime, List<Student> students);
17
18 void delete(Integer id);
19
20 Student findById(Integer id);
21
22 List<Student> findAllByName(String ime);
23
24 void interestedIn(Integer subjectId, Integer studentId);
25
26 void save(Student student);
27
28 void addListening(Integer studentID, Integer classID, Integer teacherID);
29
30 boolean rateTeacher(Teacher t, Student s, Float r);
31
32 Student edit(Integer id, String ime, String prezime, String opis, String email, String telefonskiBroj);
33}
Note: See TracBrowser for help on using the repository browser.