public class CategoryDAOImpl extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<Category,Long> implements CategoryDAO
| Constructor and Description |
|---|
CategoryDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Category entity) |
org.exoplatform.commons.utils.ListAccess<Category> |
findCategories(String query) |
Category |
findCategoryByName(String name) |
org.exoplatform.commons.utils.ListAccess<Category> |
findSubCategory(Category category) |
Category |
removeCategory(long categoryId,
boolean deleteChild) |
Category |
update(Category entity) |
count, create, createAll, deleteAll, deleteAll, find, findAll, getEntityManager, updateAllpublic void delete(Category entity)
public Category removeCategory(long categoryId, boolean deleteChild)
removeCategory in interface CategoryDAOpublic Category findCategoryByName(String name)
findCategoryByName in interface CategoryDAOpublic org.exoplatform.commons.utils.ListAccess<Category> findSubCategory(Category category)
findSubCategory in interface CategoryDAOpublic org.exoplatform.commons.utils.ListAccess<Category> findCategories(String query)
findCategories in interface CategoryDAOCopyright © 2003–2017 eXo Platform SAS. All rights reserved.