Interface SoftLineProductService
public interface SoftLineProductService
- 
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteProduct(SoftLineProduct product) Удаление продукта из биллинга и всей его истории.voiddeleteProductCategory(SotfLineProductCategory productCategory) getCategoryOfProduct(int productCategoryId) Получение категории продуктов по его idgetProductCategories(Page page) byte[]getProductPicture(int id, SoftLineTypeProduct type) ru.bitel.bgbilling.common.dto.FileDtogetProductPicture0(int id, SoftLineTypeProduct type) Получение изображения продукта для отображения в ЛКgetProducts(Page page) getProductsOfCategory(int productCategoryId) voidsetProductPicture(int id, byte[] picture, SoftLineTypeProduct type) voidupdateProduct(SoftLineProduct product) voidupdateProductCategory(SotfLineProductCategory productCategory)  
- 
Method Details
- 
getProducts
- Returns:
 - получение списка продуктов
 - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
updateProduct
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
deleteProduct
Удаление продукта из биллинга и всей его истории.- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getProductCategories
SearchResult<SotfLineProductCategory> getProductCategories(Page page) throws ru.bitel.bgbilling.common.BGException - Returns:
 - список всех заведённых категорий продуктов
 - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
updateProductCategory
void updateProductCategory(SotfLineProductCategory productCategory) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
deleteProductCategory
void deleteProductCategory(SotfLineProductCategory productCategory) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getCategoryOfProduct
SotfLineProductCategory getCategoryOfProduct(int productCategoryId) throws ru.bitel.bgbilling.common.BGException Получение категории продуктов по его id- Parameters:
 productCategoryId- - id категории продуктов- Returns:
 - категория продуктов SoftLine
 - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getProductsOfCategory
List<SoftLineProduct> getProductsOfCategory(int productCategoryId) throws ru.bitel.bgbilling.common.BGException - Parameters:
 productCategoryId- id категории- Returns:
 - список продуктов SoftLine для определённой категории
 - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
setProductPicture
void setProductPicture(int id, byte[] picture, SoftLineTypeProduct type) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getProductPicture
byte[] getProductPicture(int id, SoftLineTypeProduct type) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getProductPicture0
ru.bitel.bgbilling.common.dto.FileDto getProductPicture0(int id, SoftLineTypeProduct type) throws ru.bitel.bgbilling.common.BGException Получение изображения продукта для отображения в ЛК- Parameters:
 id- id продукта или категории для которого получается изображениеfileData- holder для результата- Throws:
 ru.bitel.bgbilling.common.BGException
 
 -