View Javadoc
1   package ejava.examples.webtier.dao;
2   
3   import java.util.List;
4   import java.util.Map;
5   
6   import ejava.examples.webtier.bo.Student;
7   
8   public interface StudentDAO {
9       public Student get(long id);
10      public Student create(Student student);
11      public Student update(Student student);
12      public Student remove(Student student);
13      public List<Student> find(int index, int count);
14      public List<Student> find(String queryName, int index, int count);
15      public List<Student> find(String queryName, Map<String,Object> params, int index, int count);
16  }