|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CatalogService
| Method Summary | |
|---|---|
Category |
createCategory()
|
Product |
createProduct(ProductType productType)
|
Sku |
createSku()
|
java.util.List<Product> |
findActiveProductsByCategory(Category category,
java.util.Date currentDate)
|
java.util.List<Category> |
findActiveSubCategoriesByCategory(Category category)
|
java.util.List<Category> |
findAllCategories()
|
java.util.List<Product> |
findAllProducts()
|
java.util.List<Sku> |
findAllSkus()
|
java.util.List<Category> |
findAllSubCategories(Category category)
|
java.util.List<Category> |
findCategoriesByName(java.lang.String categoryName)
Retrieve a list of Category instance based on the name
property. |
Category |
findCategoryById(java.lang.Long categoryId)
|
Category |
findCategoryByName(java.lang.String categoryName)
Deprecated. |
Product |
findProductById(java.lang.Long productId)
|
java.util.List<Product> |
findProductsByName(java.lang.String searchName)
|
java.util.List<Product> |
findProductsForCategory(Category category)
|
Sku |
findSkuById(java.lang.Long skuId)
|
java.util.List<Sku> |
findSkusByIds(java.util.List<java.lang.Long> ids)
|
java.util.Map<java.lang.String,java.util.List<java.lang.Long>> |
getChildCategoryURLMapByCategoryId(java.lang.Long categoryId)
|
void |
removeCategory(Category category)
|
Category |
saveCategory(Category category)
|
Product |
saveProduct(Product product)
|
Sku |
saveSku(Sku sku)
|
| Method Detail |
|---|
Product saveProduct(Product product)
Product findProductById(java.lang.Long productId)
java.util.List<Product> findProductsByName(java.lang.String searchName)
java.util.List<Product> findActiveProductsByCategory(Category category,
java.util.Date currentDate)
Category saveCategory(Category category)
void removeCategory(Category category)
Category findCategoryById(java.lang.Long categoryId)
@Deprecated Category findCategoryByName(java.lang.String categoryName)
Category instance based on its name property.
Broadleaf allows more than one category to have the same name. Calling
this method could produce an exception in such situations. Use
findCategoriesByName(String) instead.
categoryName - the category name to search by
java.util.List<Category> findCategoriesByName(java.lang.String categoryName)
Category instance based on the name
property.
categoryName - the category name to search by
java.util.List<Category> findAllCategories()
java.util.List<Product> findAllProducts()
java.util.List<Product> findProductsForCategory(Category category)
Sku saveSku(Sku sku)
java.util.List<Sku> findAllSkus()
java.util.List<Sku> findSkusByIds(java.util.List<java.lang.Long> ids)
Sku findSkuById(java.lang.Long skuId)
java.util.Map<java.lang.String,java.util.List<java.lang.Long>> getChildCategoryURLMapByCategoryId(java.lang.Long categoryId)
Category createCategory()
Sku createSku()
Product createProduct(ProductType productType)
java.util.List<Category> findAllSubCategories(Category category)
java.util.List<Category> findActiveSubCategoriesByCategory(Category category)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||