Interface EmailService
public interface EmailService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccountDelete(int contractId, int id) accountGet(int id) voidaccountMove(int accountId, int contractId, int contractIdTo, Date dateFrom) Переносит почтовый аккаунт на другой договор.intaccountUpdate(int contractId, Account account, boolean autoPassword) attributeRows(int attributeId) voidattributeValueUpdate(int attributeId, List<AttributeValue> valueList) voiddomainDelete(int domainId) domainGet(int domainId) domainList(String orderBy) intdomainUpdate(Domain domain) List<ru.bitel.bgbilling.common.model.KeyValue> forwardList(int contractId, int accountId) voidforwardUpdate(int accountId, List<String> forwards) passwordLog(int loginId) voidpasswordUpdate(int accountId, String password, boolean autoGenerate) Изменение пароля почтового аккаунта.List<ru.bitel.bgbilling.common.model.KeyValue>
-
Method Details
-
domainGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
domainDelete
void domainDelete(int domainId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
domainUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
domainList
- Throws:
ru.bitel.bgbilling.common.BGException
-
attributeList
- Throws:
ru.bitel.bgbilling.common.BGException
-
attributeRows
- Throws:
ru.bitel.bgbilling.common.BGException
-
attributeValueUpdate
void attributeValueUpdate(int attributeId, List<AttributeValue> valueList) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
quotaList
List<ru.bitel.bgbilling.common.model.KeyValue> quotaList() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
accountGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
accountUpdate
int accountUpdate(int contractId, Account account, boolean autoPassword) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
accountDelete
void accountDelete(int contractId, int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
accountMove
void accountMove(int accountId, int contractId, int contractIdTo, Date dateFrom) throws ru.bitel.bgbilling.common.BGException Переносит почтовый аккаунт на другой договор. ЕслиdateFromзадано - перенос выполняется с указанной даты (с копированием атрибутов и пересылок), иначе аккаунт просто перепривязывается к другому договору.- Parameters:
accountId- код почтового аккаунтаcontractId- код текущего договораcontractIdTo- код договора, на который выполняется переносdateFrom- дата переноса, null - перенос без даты- Throws:
ru.bitel.bgbilling.common.BGException
-
passwordUpdate
void passwordUpdate(int accountId, String password, boolean autoGenerate) throws ru.bitel.bgbilling.common.BGException Изменение пароля почтового аккаунта. ПриautoGenerate == trueпароль генерируется заново, иначе проверяется на допустимость настройками модуля.- Throws:
ru.bitel.bgbilling.common.BGException
-
forwardList
List<ru.bitel.bgbilling.common.model.KeyValue> forwardList(int contractId, int accountId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
forwardUpdate
void forwardUpdate(int accountId, List<String> forwards) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
passwordLog
- Throws:
ru.bitel.bgbilling.common.BGException
-