Package ejava.examples.webtier.bl
Interface Registrar
-
- All Known Implementing Classes:
RegistrarImpl
public interface Registrar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Student
addStudent(Student student)
Student
completeCourse(Student student, Grade grade)
Student
dropStudent(Student student)
List<Student>
getGraduatingStudents(int index, int count)
List<Student>
getNewStudents(int index, int count)
Student
getStudent(long id)
List<Student>
getStudents(int index, int count)
List<Student>
getStudents(String queryName, Map<String,Object> params, int index, int count)
-
-
-
Method Detail
-
getStudents
List<Student> getStudents(int index, int count) throws RegistrarException
- Throws:
RegistrarException
-
getNewStudents
List<Student> getNewStudents(int index, int count) throws RegistrarException
- Throws:
RegistrarException
-
getGraduatingStudents
List<Student> getGraduatingStudents(int index, int count) throws RegistrarException
- Throws:
RegistrarException
-
getStudents
List<Student> getStudents(String queryName, Map<String,Object> params, int index, int count) throws RegistrarException
- Throws:
RegistrarException
-
addStudent
Student addStudent(Student student) throws RegistrarException
- Throws:
RegistrarException
-
getStudent
Student getStudent(long id) throws RegistrarException
- Throws:
RegistrarException
-
completeCourse
Student completeCourse(Student student, Grade grade) throws RegistrarException
- Throws:
RegistrarException
-
dropStudent
Student dropStudent(Student student) throws RegistrarException
- Throws:
RegistrarException
-
-