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 StudentDAO
StudentDAOException
public List<Student> find(int index, int count) throws StudentDAOException
find
in interface StudentDAO
StudentDAOException
public List<Student> find(String name, Map<String,Object> args, int index, int count) throws StudentDAOException
find
in interface StudentDAO
StudentDAOException
public List<Student> find(String name, int index, int count) throws StudentDAOException
find
in interface StudentDAO
StudentDAOException
public Student get(long id) throws StudentDAOException
get
in interface StudentDAO
StudentDAOException
public Student remove(Student student) throws StudentDAOException
remove
in interface StudentDAO
StudentDAOException
public Student update(Student student) throws StudentDAOException
update
in interface StudentDAO
StudentDAOException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.