Interface ContractParameterService
public interface ContractParameterService
Справочник параметров.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidcontractParameterGroupAttrDelete(int id) Удаление параметра договора из справочника.contractParameterGroupAttrGet(int id) Получение типа параметра по ID из справочника параметров.Получение списка параметров договора из справочника.voidintДобавление/обновление параметра договора справочника.voidcontractParameterGroupDelete(int id) Удаление группы параметров по его ID.contractParameterGroupGet(int id) Получение группы параметров договора по ID.Данные для редактора справочника "группы параметров"Получение списка групп параметров договора.intОбновление группы параметров.voidcontractParameterGroupUpdateLink(int contractParameterGroupId, Set<Integer> parameterIds) Обновление привязки параметров к группе.voidcontractParameterListItemDelete(int parameterTypeId, int id) Удаление значения спискового параметра.contractParameterListItemList(int parameterTypeId) Получение значений спискового параметра.intcontractParameterListItemUpdate(int parameterTypeId, ContractParameterListItem item) Обновление значения спискового параметра.voidcontractParameterMultiListItemDelete(int parameterTypeId, int id) contractParameterMultiListItemList(int parameterTypeId) intcontractParameterMultiListItemUpdate(int parameterTypeId, ContractParameterMultiListItem item) customerBankUpdate(int customerId, String text) customerContactUpdate(int customerId, CustomerContactType contactType, String text) customerContracts(int customerId, LocalDateTime onTime) voidcustomerDelete(int customerId) customerEmails(int customerId, int contractId) voidcustomerLinkSet(int contractId, int сustomerId) intcustomerNewSet(int contractId) customerParameterGet(int contractId) customerParameterHistory(int customerId, String fieldKey, int lastRecordCount) customerParameterUpdate(int customerId, String fieldValue, String text) customerPropertyParams(int customerId) customerSearch(Customer.CustomerType customerType, String text) Поиск клиентовbooleancustomerUnlinkContract(int contractId, LocalDateTime unlinkTime)  
- 
Method Details
- 
contractParameterGroupGet
ContractParameterGroup contractParameterGroupGet(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Получение группы параметров договора по ID. Внутри него содержится список параметров справочника.- Parameters:
 id- ID группы параметров.- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupList
List<ContractParameterGroup> contractParameterGroupList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessExceptionПолучение списка групп параметров договора. Внутри каждой группы содержится список параметров справочника.- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException- See Also:
 
 - 
contractParameterGroupJson
String contractParameterGroupJson() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageExceptionДанные для редактора справочника "группы параметров"- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractParameterGroupUpdate
int contractParameterGroupUpdate(ContractParameterGroup group) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Обновление группы параметров.- Parameters:
 group- группа параметров- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupDelete
void contractParameterGroupDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Удаление группы параметров по его ID.- Parameters:
 id- ID группы параметров- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterListItemList
List<ContractParameterListItem> contractParameterListItemList(int parameterTypeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Получение значений спискового параметра.- Parameters:
 parameterTypeId- pid- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterMultiListItemList
List<ContractParameterMultiListItem> contractParameterMultiListItemList(int parameterTypeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterListItemUpdate
int contractParameterListItemUpdate(int parameterTypeId, ContractParameterListItem item) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Обновление значения спискового параметра.- Parameters:
 parameterTypeId- piditem- значение- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterMultiListItemUpdate
int contractParameterMultiListItemUpdate(int parameterTypeId, ContractParameterMultiListItem item) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterListItemDelete
void contractParameterListItemDelete(int parameterTypeId, int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Удаление значения спискового параметра.- Parameters:
 parameterTypeId- pidid- значения- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterMultiListItemDelete
void contractParameterMultiListItemDelete(int parameterTypeId, int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupAttrGet
ContractParameterGroupAttr contractParameterGroupAttrGet(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Получение типа параметра по ID из справочника параметров.- Parameters:
 id- ID типа параметра договора- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupAttrList
List<ContractParameterGroupAttr> contractParameterGroupAttrList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessExceptionПолучение списка параметров договора из справочника.- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupAttrUpdate
int contractParameterGroupAttrUpdate(ContractParameterGroupAttr attr) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Добавление/обновление параметра договора справочника.- Parameters:
 attr-- Returns:
 - ID созданного/обновленного параметра
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupAttrDelete
void contractParameterGroupAttrDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Удаление параметра договора из справочника.- Parameters:
 id- ID удаляемого параметра справочника- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupUpdateLink
void contractParameterGroupUpdateLink(int contractParameterGroupId, Set<Integer> parameterIds) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalArgumentException, ru.bitel.bgbilling.common.BGIllegalAccessException Обновление привязки параметров к группе.- Parameters:
 contractParameterGroupId- ID группы параметров, к которой будут привязаны параметрыparameterIds- ID параметров, которые будут привязаны к группе- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalArgumentExceptionru.bitel.bgbilling.common.BGIllegalAccessException
 - 
contractParameterGroupAttrOrderSet
void contractParameterGroupAttrOrderSet(List<ContractParameterGroupAttr> list) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerParameterGet
String customerParameterGet(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerParameterUpdate
String customerParameterUpdate(int customerId, String fieldValue, String text) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerContactUpdate
String customerContactUpdate(int customerId, CustomerContactType contactType, String text) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerBankUpdate
String customerBankUpdate(int customerId, String text) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerNewSet
int customerNewSet(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerDelete
void customerDelete(int customerId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerSearch
String customerSearch(Customer.CustomerType customerType, String text) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Поиск клиентов- Parameters:
 customerType-true - ищем юр. лицfalse - ищем физ. лицtext-строка поиска, в зависимости от содержимого строки и значения параметра uPerson ищет по ИНН, серии и номеру паспорта, огрн, названию, дате рождения и дате выдачи паспорта- Returns:
 - json array
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerLinkSet
void customerLinkSet(int contractId, int сustomerId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerContracts
List<CustomerContract> customerContracts(int customerId, LocalDateTime onTime) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerUnlinkContract
boolean customerUnlinkContract(int contractId, LocalDateTime unlinkTime) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerParameterHistory
String customerParameterHistory(int customerId, String fieldKey, int lastRecordCount) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerEmails
List<String> customerEmails(int customerId, int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
customerPropertyParams
List<CustomerPropertyParam> customerPropertyParams(int customerId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
paramPhoneFormats
String paramPhoneFormats() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 
 -