public interface ProductService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProduct(Product product)
Удаление продукта из биллинга и всей его истории.
|
void |
deleteProductCategory(ProductCategory productCategory) |
ProductCategory |
getCategoryOfProduct(int productCategoryId)
Получение категории продуктов по его id
|
SearchResult<ProductCategory> |
getProductCategories(Page page) |
byte[] |
getProductPicture(int id,
TypeProduct type) |
void |
getProductPicture0(int id,
javax.xml.ws.Holder<javax.activation.DataHandler> fileData,
TypeProduct type)
Получение изображения продукта для отображения в ЛК
|
SearchResult<Product> |
getProducts(Page page) |
java.util.List<Product> |
getProductsOfCategory(int productCategoryId) |
void |
setProductPicture(int id,
byte[] picture,
TypeProduct type) |
void |
updateProduct(Product product) |
void |
updateProductCategory(ProductCategory productCategory) |
SearchResult<Product> getProducts(Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid updateProduct(Product product) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid deleteProduct(Product product) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionSearchResult<ProductCategory> getProductCategories(Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid updateProductCategory(ProductCategory productCategory) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid deleteProductCategory(ProductCategory productCategory) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionProductCategory getCategoryOfProduct(int productCategoryId) throws ru.bitel.bgbilling.common.BGException
productCategoryId - - id категории продуктовru.bitel.bgbilling.common.BGExceptionjava.util.List<Product> getProductsOfCategory(int productCategoryId) throws ru.bitel.bgbilling.common.BGException
productCategoryId - id категорииru.bitel.bgbilling.common.BGExceptionvoid setProductPicture(int id,
byte[] picture,
TypeProduct type)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionbyte[] getProductPicture(int id,
TypeProduct type)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid getProductPicture0(int id,
javax.xml.ws.Holder<javax.activation.DataHandler> fileData,
TypeProduct type)
throws ru.bitel.bgbilling.common.BGException
id - id продукта или категории для которого получается изображениеfileData - holder для результатаru.bitel.bgbilling.common.BGException