Interface ProductService
public interface ProductService
-
Method Summary
Modifier and TypeMethodDescriptiongetIncompatibleItems
(int moduleId) void
productDelete
(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) void
productPeriodDelete
(int contractId, int productPeriodId) productPeriodList
(int contractId, int productId) int
productPeriodUpdate
(int contractId, ProductPeriod productPeriod) void
productSpecActivationModeDelete
(int id) productSpecActivationModeGet
(int id) int
productSpecActivationModeUpdate
(ProductSpecActivationMode productSpecActivationMode) void
productSpecDelete
(int id) productSpecGet
(int id) productSpecGetByIdentifier
(String identifier) productSpecList
(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) void
productSpecMove
(int id, Set<Integer> ids) productSpecRoot
(Integer moduleId, Date dateFrom, Date dateTo, String title, List<FilterEntityAttr> entityFilter) org.json.JSONObject
productSpecTree
(int moduleId) int
productSpecUpdate
(ProductSpec productSpec) void
productTreeReorder
(int srcProductId, int parentProductId, int childIndex) int
productUpdate
(Product product) serviceLinkList
(int productSpecId, Date date) void
serviceLinkUpdate
(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
-