View Javadoc
1   package ejava.examples.daoex.dao;
2   
3   import ejava.examples.daoex.bo.Author;
4   
5   public interface AuthorDAO {
6   
7       public abstract void create(Author author) throws DAOException;
8   
9       public abstract Author get(long id) throws DAOException;
10  
11      public abstract Author getByQuery(long id) throws DAOException;
12  
13      public abstract Author update(Author author) throws DAOException;
14  
15      public abstract Author updateByMerge(Author author) throws DAOException;
16  
17      public abstract void remove(Author author) throws DAOException;
18  
19  }