public interface VoiceAccountService
| Modifier and Type | Method and Description |
|---|---|
void |
checkVoiceAccountIsActive(VoiceAccount oldAccount) |
java.util.List<VoiceAccount> |
getVoiceAccounts(int deviceId)
Получение списка аккаунтов, к которым привязано определенное устройство.
|
int |
voiceAccountDelete(int accountId)
Удаление аккаунта по его коду в БД.
|
VoiceAccount |
voiceAccountGet(int accountId)
Получение одного конкретного аккаунта по его коду в БД.
|
java.util.List<VoiceAccount> |
voiceAccountList(int contractId,
Period period)
Получение списка аккаунта с фильтрацией по договору.
|
void |
voiceAccountListDelete(java.util.List<java.lang.Integer> ids) |
VoiceAccount |
voiceAccountObjectTree(int contractId,
int contractObjectId)
Получение дерева аккаунтов на договоре
|
VoiceAccount |
voiceAccountTree(int contractId)
Получение дерева аккаунтов на договоре
|
int |
voiceAccountTypeDelete(int accountTypeId)
Удаление типа аккаунта по его коду в БД.
|
VoiceAccountType |
voiceAccountTypeGet(int accountTypeId)
Получение одного конкретного типа аккаунта по его коду в БД.
|
java.util.List<VoiceAccountType> |
voiceAccountTypeList()
Получение списка типов аккаунта
|
int |
voiceAccountTypeUpdate(VoiceAccountType accountType)
Добавление/изменение типа аккаунта.
|
int |
voiceAccountUpdate(VoiceAccount account)
Добавление/изменение аккаунта.
|
Result<VoiceAccount> |
voiceSearchAccount(java.lang.String login,
long number,
int typeId,
java.lang.String title,
Period period,
Page page)
Поиск акканута
|
VoiceAccount voiceAccountTree(int contractId) throws ru.bitel.bgbilling.common.BGException
contractId - код договораru.bitel.bgbilling.common.BGExceptionVoiceAccount voiceAccountObjectTree(int contractId, int contractObjectId) throws ru.bitel.bgbilling.common.BGException
contractId - код договораcontractObjectId - код объектаru.bitel.bgbilling.common.BGExceptionjava.util.List<VoiceAccount> voiceAccountList(int contractId, Period period) throws ru.bitel.bgbilling.common.BGException
contractId - код договораru.bitel.bgbilling.common.BGExceptionVoiceAccount voiceAccountGet(int accountId) throws ru.bitel.bgbilling.common.BGException
accountId - код аккаунтаru.bitel.bgbilling.common.BGExceptionint voiceAccountUpdate(VoiceAccount account) throws ru.bitel.bgbilling.common.BGException
account - аккаунтru.bitel.bgbilling.common.BGExceptionint voiceAccountDelete(int accountId)
throws ru.bitel.bgbilling.common.BGException
accountId - код аккаунтаru.bitel.bgbilling.common.BGExceptionjava.util.List<VoiceAccount> getVoiceAccounts(int deviceId) throws ru.bitel.bgbilling.common.BGException
deviceId - код устройства, по которому нужно отфильтровать
список аккаунтов.ru.bitel.bgbilling.common.BGExceptionjava.util.List<VoiceAccountType> voiceAccountTypeList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionVoiceAccountType voiceAccountTypeGet(int accountTypeId) throws ru.bitel.bgbilling.common.BGException
accountTypeId - код аккаунтаru.bitel.bgbilling.common.BGExceptionint voiceAccountTypeUpdate(VoiceAccountType accountType) throws ru.bitel.bgbilling.common.BGException
accountType - тип аккаунтаru.bitel.bgbilling.common.BGExceptionint voiceAccountTypeDelete(int accountTypeId)
throws ru.bitel.bgbilling.common.BGException
accountTypeId - код типа аккаунтаru.bitel.bgbilling.common.BGExceptionResult<VoiceAccount> voiceSearchAccount(java.lang.String login, long number, int typeId, java.lang.String title, Period period, Page page) throws ru.bitel.bgbilling.common.BGException
text - number - id - text2 - b - ru.bitel.bgbilling.common.BGExceptionvoid checkVoiceAccountIsActive(VoiceAccount oldAccount) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionvoid voiceAccountListDelete(java.util.List<java.lang.Integer> ids)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException