package service; import model.StudentSubject; import java.sql.SQLException; import java.util.List; public interface StudentSubjectService { void enroll(StudentSubject ss) throws SQLException; List findAll() throws SQLException; StudentSubject findById(Long ss_id) throws SQLException; void updateEnrollment(StudentSubject ss) throws SQLException; void deleteEnrollment(Long ss_id) throws SQLException; }