org.broadleafcommerce.core.catalog.dao
Interface CategoryDao

All Known Implementing Classes:
CategoryDaoImpl

public interface CategoryDao


Method Summary
 Category create()
           
 void delete(Category category)
           
 java.util.List<Category> readAllCategories()
           
 java.util.List<Product> readAllProducts()
           
 java.util.List<Category> readAllSubCategories(Category category)
           
 Category readCategoryById(java.lang.Long categoryId)
           
 Category readCategoryByName(java.lang.String categoryId)
           
 Category save(Category category)
           
 

Method Detail

readCategoryById

Category readCategoryById(java.lang.Long categoryId)

readCategoryByName

Category readCategoryByName(java.lang.String categoryId)

save

Category save(Category category)

readAllCategories

java.util.List<Category> readAllCategories()

readAllProducts

java.util.List<Product> readAllProducts()

readAllSubCategories

java.util.List<Category> readAllSubCategories(Category category)

delete

void delete(Category category)

create

Category create()


Copyright © 2011. All Rights Reserved.