Interface EmailService


public interface EmailService
  • Method Details

    • domainGet

      Domain domainGet(int domainId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • domainDelete

      void domainDelete(int domainId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • domainUpdate

      int domainUpdate(Domain domain) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • domainList

      List<Domain> domainList(String orderBy) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • attributeList

      List<AccountAttribute> attributeList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • attributeRows

      List<AttributeRow> attributeRows(int attributeId) throws ru.bitel.bgbilling.common.BGException
      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

      Account accountGet(int id) throws ru.bitel.bgbilling.common.BGException
      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

      String passwordLog(int loginId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException