Class AccountCreatedEvent

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.modules.email.server.event.AccountCreatedEvent
All Implemented Interfaces:
Serializable

public class AccountCreatedEvent extends QueueEvent
Асинхронное событие - аккаунт создан.
Событие генерируется после создания аккаунта.
Унаследован от QueueEvent
See Also:
  • Constructor Details

    • AccountCreatedEvent

      protected AccountCreatedEvent()
    • AccountCreatedEvent

      public AccountCreatedEvent(int userId, int moduleId, int contractId, String mail)
      Конструктор события.
      Parameters:
      userId - - id пользователя, сгенерировавшего событие
      moduleId - - код модуля
      contractId - - код договора
      mail - - email
  • Method Details

    • getTypeId

      @Deprecated public int getTypeId()
      Deprecated.
      Использовать проверку instanceof.
      Overrides:
      getTypeId in class Event
      Returns:
    • getMail

      public String getMail()
      Возвращает e-mail
      Returns:
      mail - строка e-mail