org.broadleafcommerce.core.catalog.dao
Class CategoryDaoImpl
java.lang.Object
org.broadleafcommerce.core.catalog.dao.CategoryDaoImpl
- All Implemented Interfaces:
- CategoryDao
@Repository(value="blCategoryDao")
public class CategoryDaoImpl
- extends java.lang.Object
- implements CategoryDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
queryCacheableKey
protected java.lang.String queryCacheableKey
CategoryDaoImpl
public CategoryDaoImpl()
save
public Category save(Category category)
- Specified by:
save in interface CategoryDao
readCategoryById
public Category readCategoryById(java.lang.Long categoryId)
- Specified by:
readCategoryById in interface CategoryDao
readCategoryByName
public Category readCategoryByName(java.lang.String categoryName)
- Specified by:
readCategoryByName in interface CategoryDao
readAllCategories
public java.util.List<Category> readAllCategories()
- Specified by:
readAllCategories in interface CategoryDao
readAllProducts
public java.util.List<Product> readAllProducts()
- Specified by:
readAllProducts in interface CategoryDao
readAllSubCategories
public java.util.List<Category> readAllSubCategories(Category category)
- Specified by:
readAllSubCategories in interface CategoryDao
getQueryCacheableKey
public java.lang.String getQueryCacheableKey()
setQueryCacheableKey
public void setQueryCacheableKey(java.lang.String queryCacheableKey)
delete
public void delete(Category category)
- Specified by:
delete in interface CategoryDao
create
public Category create()
- Specified by:
create in interface CategoryDao
Copyright © 2011. All Rights Reserved.