Interface LicenseService
public interface LicenseService
- 
Method Summary
Modifier and TypeMethodDescriptionconfirmedOrderList(int contractId, int copyId, int filter) Список экземпляров компонентов для указанной копии продукта.copyList(int contractId) Список продуктов для договора.intcreatePackage(int contractId, int copyId, Set<String> confirmedOrderIds) doContractData(int productId, int componentId) doStatData(int productId) getProductItemLinks(int productItemId) getProductLinks(int productId) licenseComponentList(int contractId, int licenseId) intlicenseCreate(int contractId, int copyId, Set<String> confirmedOrderIds, boolean customer) licenseList(int contractId, int copyId) voidorderDelete(int orderId) Удалит заказorderGet(int orderId) Вернет заказvoidorderUpdate(Order order) Создает или изменяет существующий заказ.productCopyList(int contractId) productListWithComponent(int componentId) voidprolongTestOrders(int contractId, Date dateTo, List<Integer> ids) sendLicenseTextByEmail(int contractId, int copyId, String email, String licenseText)  
- 
Method Details
- 
copyList
List<Copy> copyList(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Список продуктов для договора.- Parameters:
 contractId-- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
confirmedOrderList
List<ConfirmedOrder> confirmedOrderList(int contractId, int copyId, int filter) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException Список экземпляров компонентов для указанной копии продукта.- Parameters:
 copyId- - id копии продуктаfilter- - если 0, то в список попадают только компоненты с наибольшим количеством если 1 - только купленные компоненты если 2 - все компоненты- Returns:
 - - список экземпляров модулей
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
productList
List<Product> productList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
productListWithComponent
List<Product> productListWithComponent(int componentId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
productCopyList
List<Copy> productCopyList(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
licenseList
List<License> licenseList(int contractId, int copyId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
licenseComponentList
List<ConfirmedOrder> licenseComponentList(int contractId, int licenseId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
licenseCreate
int licenseCreate(int contractId, int copyId, Set<String> confirmedOrderIds, boolean customer) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
createPackage
int createPackage(int contractId, int copyId, Set<String> confirmedOrderIds) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
prolongTestOrders
void prolongTestOrders(int contractId, Date dateTo, List<Integer> ids) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentException
 - 
orderGet
Order orderGet(int orderId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Вернет заказ- Parameters:
 orderId- ид заказа- Returns:
 - Order
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
orderUpdate
void orderUpdate(Order order) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Создает или изменяет существующий заказ.- Parameters:
 order- - заказ, в случае когда order.id == 0 создает заказ- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
orderDelete
void orderDelete(int orderId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Удалит заказ- Parameters:
 orderId- ид заказа- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
doStatData
List<StatData> doStatData(int productId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
doContractData
List<ContractData> doContractData(int productId, int componentId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getProductLinks
String getProductLinks(int productId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getProductItemLinks
String getProductItemLinks(int productItemId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getProductItems
List<Component> getProductItems() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
sendLicenseTextByEmail
String sendLicenseTextByEmail(int contractId, int copyId, String email, String licenseText) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 
 -