Package ejava.examples.daoex.dao
Interface AuthorDAO
-
- All Known Implementing Classes:
JPAAuthorDAO
public interface AuthorDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(Author author)
Author
get(long id)
Author
getByQuery(long id)
void
remove(Author author)
Author
update(Author author)
Author
updateByMerge(Author author)
-
-
-
Method Detail
-
create
void create(Author author) throws DAOException
- Throws:
DAOException
-
get
Author get(long id) throws DAOException
- Throws:
DAOException
-
getByQuery
Author getByQuery(long id) throws DAOException
- Throws:
DAOException
-
update
Author update(Author author) throws DAOException
- Throws:
DAOException
-
updateByMerge
Author updateByMerge(Author author) throws DAOException
- Throws:
DAOException
-
remove
void remove(Author author) throws DAOException
- Throws:
DAOException
-
-