Interface ProductService
public interface ProductService
-
Method Summary
Modifier and TypeMethodDescriptiongetIncompatibleItems(int moduleId) voidproductDelete(int contractId, int productId) productGet(int contractId, int productId) productList(int moduleId, int contractId, int accountId, boolean kernel, Date timeFrom, Date timeTo, Date intersectTimeFrom, Date intersectTimeTo, boolean nonActive) Deprecated.productList(int moduleId, int contractId, int accountId, boolean kernel, Date timeFrom, Date timeTo, Date intersectTimeFrom, Date intersectTimeTo, boolean nonActive, boolean needProductPeriods) voidproductPeriodDelete(int contractId, int productPeriodId) productPeriodList(int contractId, int productId) intproductPeriodUpdate(int contractId, ProductPeriod productPeriod) voidproductSpecActivationModeDelete(int id) productSpecActivationModeGet(int id) intproductSpecActivationModeUpdate(ProductSpecActivationMode productSpecActivationMode) voidproductSpecDelete(int id) productSpecGet(int id) productSpecGetByIdentifier(String identifier) productSpecList(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) voidproductSpecMove(int id, Set<Integer> ids) productSpecRoot(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) org.json.JSONObjectproductSpecTree(int moduleId) intproductSpecUpdate(ProductSpec productSpec) voidproductTreeReorder(int srcProductId, int parentProductId, int childIndex) intproductUpdate(Product product) serviceLinkList(int productSpecId, Date date) voidserviceLinkUpdate(int productSpecId, List<ProductSpecServiceLink> linkList)
-
Method Details
-
productSpecGet
- Throws:
Exception
-
productSpecGetByIdentifier
- Throws:
Exception
-
productSpecList
List<ProductSpec> productSpecList(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) throws Exception - Throws:
Exception
-
productSpecRoot
ProductSpec productSpecRoot(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) throws Exception - Throws:
Exception
-
productSpecTree
- Throws:
Exception
-
productSpecUpdate
- Throws:
Exception
-
productSpecDelete
- Throws:
Exception
-
productSpecActivationModeList
- Throws:
Exception
-
productSpecActivationModeGet
- Throws:
Exception
-
productSpecActivationModeUpdate
int productSpecActivationModeUpdate(ProductSpecActivationMode productSpecActivationMode) throws Exception - Throws:
Exception
-
productSpecActivationModeDelete
- Throws:
Exception
-
productSpecMove
- Throws:
Exception
-
serviceLinkList
- Throws:
Exception
-
serviceLinkUpdate
- Throws:
Exception
-
productList
@RequestWrapper(className="ru.bitel.oss.systems.inventory.product.common.jaxws.ProductListOldRequest") @ResponseWrapper(className="ru.bitel.oss.systems.inventory.product.common.jaxws.ProductListOldResponse") @Deprecated List<Product> productList(int moduleId, int contractId, int accountId, boolean kernel, Date timeFrom, Date timeTo, Date intersectTimeFrom, Date intersectTimeTo, boolean nonActive) throws Exception Deprecated.- Throws:
Exception
-
productList
List<Product> productList(int moduleId, int contractId, int accountId, boolean kernel, Date timeFrom, Date timeTo, Date intersectTimeFrom, Date intersectTimeTo, boolean nonActive, boolean needProductPeriods) throws Exception - Parameters:
moduleId- -1 или 0 (ядро) или ID модуляcontractId- ID договора (>0)accountId- -1 или ID аккаунтаkernel- добавить продукты ядра ()timeFrom-timeTo-intersectTimeFrom-intersectTimeTo-nonActive- включать ли неактивные (timeToinvalid input: '<'timeFrom)needProductPeriods- проставить ли subscriptionTimeFrom/subscriptionTimeTo- Returns:
-
productUpdate
- Throws:
Exception
-
productGet
- Throws:
Exception
-
productDelete
- Throws:
Exception
-
productPeriodUpdate
- Throws:
Exception
-
productPeriodList
- Throws:
Exception
-
productPeriodDelete
- Throws:
Exception
-
getIncompatibleItems
- Throws:
Exception
-
productTreeReorder
- Throws:
Exception
-