Interface TrayInfoService
public interface TrayInfoService
Вебсервисы трей-инфо.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteLogin(int cid, int id) Удаление логина.voiddeleteLoginType(int id) Удаление типа логина.Получение списка типов расходов для инициализации редактора типов логинов.ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogingetLogin(int cid, int id) Получение конкретного логина.List<ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogin>getLogins(int cid) Таблица логинов.ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoTypegetLoginType(int id) Получение типа логина.List<ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoType>Таблица всех типов логинов.voidupdateLogin(ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogin login) Сохранение логина.voidupdateLoginType(ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoType type) Редактирование типа логина.
-
Method Details
-
deleteLoginType
void deleteLoginType(int id) throws ru.bitel.bgbilling.common.BGException Удаление типа логина.- Parameters:
id- ид типа логина.- Throws:
ru.bitel.bgbilling.common.BGException
-
getChargesList
Получение списка типов расходов для инициализации редактора типов логинов.- Throws:
ru.bitel.bgbilling.common.BGException
-
getLoginType
ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoType getLoginType(int id) throws ru.bitel.bgbilling.common.BGException Получение типа логина. Для редактора.- Parameters:
id- ид типа логина.- Throws:
ru.bitel.bgbilling.common.BGException
-
getLogins
List<ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogin> getLogins(int cid) throws ru.bitel.bgbilling.common.BGException Таблица логинов. Или все логины договора. Используется при логинах договора и для всех и для всех + фильтр-договора.- Parameters:
cid- если надо указать договор, если -1, игнорируется.- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteLogin
void deleteLogin(int cid, int id) throws ru.bitel.bgbilling.common.BGException Удаление логина.- Parameters:
id- ид логина (т.е. сам логин).- Throws:
ru.bitel.bgbilling.common.BGException
-
getLogin
ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogin getLogin(int cid, int id) throws ru.bitel.bgbilling.common.BGException Получение конкретного логина. Для редактора.- Throws:
ru.bitel.bgbilling.common.BGException
-
getLoginTypes
List<ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoType> getLoginTypes() throws ru.bitel.bgbilling.common.BGExceptionТаблица всех типов логинов. Например, для отображения в админке.- Throws:
ru.bitel.bgbilling.common.BGException
-
updateLogin
void updateLogin(ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoLogin login) throws ru.bitel.bgbilling.common.BGException Сохранение логина. Из редактора.- Throws:
ru.bitel.bgbilling.common.BGException
-
updateLoginType
void updateLoginType(ru.bitel.bgbilling.modules.trayinfo.common.TrayInfoType type) throws ru.bitel.bgbilling.common.BGException Редактирование типа логина.- Throws:
ru.bitel.bgbilling.common.BGException
-