org.broadleafcommerce.admin.catalog.service
Class AdminCatalogService
java.lang.Object
org.broadleafcommerce.admin.catalog.service.AdminCatalogService
@Service(value="blAdminCatalogService")
public class AdminCatalogService
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
categoryDao
protected CategoryDao categoryDao
categoryXrefDao
protected CategoryXrefDao categoryXrefDao
productDao
protected ProductDao productDao
skuDao
protected SkuDao skuDao
AdminCatalogService
public AdminCatalogService()
findCategoryById
public Category findCategoryById(java.lang.Long categoryId)
findCategoryByName
public Category findCategoryByName(java.lang.String categoryName)
findProductById
public Product findProductById(java.lang.Long productId)
findProductsByName
public java.util.List<Product> findProductsByName(java.lang.String searchName)
findProductsByCategory
public java.util.List<Product> findProductsByCategory(Category category)
saveProduct
public Product saveProduct(Product product)
deleteProduct
public void deleteProduct(Product product)
updateCategoryParents
public Category updateCategoryParents(Category category,
Category oldParent,
Category newParent)
saveCategory
public Category saveCategory(Category category)
deleteCategory
public void deleteCategory(Category category,
Category parentCategory)
findAllCategories
public java.util.List<Category> findAllCategories()
findAllProducts
public java.util.List<Product> findAllProducts()
findAllSkus
public java.util.List<Sku> findAllSkus()
findSkuById
public Sku findSkuById(java.lang.Long skuId)
saveSku
public Sku saveSku(Sku sku)
deleteSku
public void deleteSku(Sku sku)
findSkusByIds
public java.util.List<Sku> findSkusByIds(java.util.List<java.lang.Long> ids)
Copyright © 2010. All Rights Reserved.