| Modifier and Type | Field and Description |
|---|---|
private StudentDAO |
dao |
private static String |
GRAD_QUERY |
(package private) org.apache.commons.logging.Log |
log |
private static String |
NEW_STUDENT_QUERY |
| Constructor and Description |
|---|
RegistrarImpl() |
| Modifier and Type | Method and Description |
|---|---|
Student |
addStudent(Student student) |
Student |
completeCourse(Student student,
Grade grade) |
Student |
dropStudent(Student student) |
private StudentDAO |
getDAO() |
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) |
org.apache.commons.logging.Log log
private static final String NEW_STUDENT_QUERY
private static final String GRAD_QUERY
private StudentDAO dao
private StudentDAO getDAO() throws RegistrarException
RegistrarExceptionpublic Student addStudent(Student student) throws RegistrarException
addStudent in interface RegistrarRegistrarExceptionpublic Student completeCourse(Student student, Grade grade) throws RegistrarException
completeCourse in interface RegistrarRegistrarExceptionpublic Student dropStudent(Student student) throws RegistrarException
dropStudent in interface RegistrarRegistrarExceptionpublic List<Student> getStudents(int index, int count) throws RegistrarException
getStudents in interface RegistrarRegistrarExceptionpublic List<Student> getGraduatingStudents(int index, int count) throws RegistrarException
getGraduatingStudents in interface RegistrarRegistrarExceptionpublic List<Student> getNewStudents(int index, int count) throws RegistrarException
getNewStudents in interface RegistrarRegistrarExceptionpublic Student getStudent(long id) throws RegistrarException
getStudent in interface RegistrarRegistrarExceptionpublic List<Student> getStudents(String queryName, Map<String,Object> params, int index, int count) throws RegistrarException
getStudents in interface RegistrarRegistrarExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.