public class StudentJPADAO extends Object implements StudentDAO
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
StudentJPADAO() |
| Modifier and Type | Method and Description |
|---|---|
Student |
create(Student student) |
List<Student> |
find(int index,
int count) |
List<Student> |
find(String name,
int index,
int count) |
List<Student> |
find(String name,
Map<String,Object> args,
int index,
int count) |
Student |
get(long id) |
Student |
remove(Student student) |
Student |
update(Student student) |
public Student create(Student student) throws StudentDAOException
create in interface StudentDAOStudentDAOExceptionpublic List<Student> find(int index, int count) throws StudentDAOException
find in interface StudentDAOStudentDAOExceptionpublic List<Student> find(String name, Map<String,Object> args, int index, int count) throws StudentDAOException
find in interface StudentDAOStudentDAOExceptionpublic List<Student> find(String name, int index, int count) throws StudentDAOException
find in interface StudentDAOStudentDAOExceptionpublic Student get(long id) throws StudentDAOException
get in interface StudentDAOStudentDAOExceptionpublic Student remove(Student student) throws StudentDAOException
remove in interface StudentDAOStudentDAOExceptionpublic Student update(Student student) throws StudentDAOException
update in interface StudentDAOStudentDAOExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.