public class JPACategoryDao extends JPABaseDao implements CategoryDao
entityManager| Constructor and Description |
|---|
JPACategoryDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Category category) |
void |
delete(Category category) |
Category |
find(Integer id) |
List<Category> |
findByNames(List<String> names) |
void |
update(Category category) |
createQuery, flushAndClear, merge, persist, remove, setEntityManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushAndClearpublic Category find(Integer id)
find in interface GenericBaseDao<Category,Integer>public List<Category> findByNames(List<String> names)
findByNames in interface CategoryDaopublic void create(Category category)
create in interface GenericBaseDao<Category,Integer>public void update(Category category)
update in interface GenericBaseDao<Category,Integer>public void delete(Category category)
delete in interface GenericBaseDao<Category,Integer>Copyright © 2014 JBoss by Red Hat. All Rights Reserved.