Class HvlNotificationMailSenderServiceImpl

java.lang.Object
tr.com.havelsan.javarch.notification.mailsender.provider.api.HvlNotificationMailSenderServiceImpl
All Implemented Interfaces:
HvlNotificationMailSenderService

@Service public class HvlNotificationMailSenderServiceImpl extends Object implements HvlNotificationMailSenderService
The class which implements HvlNotificationMailSenderService
  • Constructor Details

    • HvlNotificationMailSenderServiceImpl

      public HvlNotificationMailSenderServiceImpl(HvlNotificationTemplateManager templateManager, tr.com.havelsan.javarch.mail.support.service.HvlHtmlMailService htmlMailService, tr.com.havelsan.javarch.mail.support.service.HvlMimeHtmlMailService mimeHtmlMailService, tr.com.havelsan.javarch.mail.support.service.HvlCalendarMailService calendarMailService, HvlNotificationMailProperties notificationMailProperties)
      Instantiates a new HvlNotificationMailService.
      Parameters:
      templateManager - the notification template manager
      htmlMailService - the html mail service
      mimeHtmlMailService - the mime html mail service
      calendarMailService - the calendar mail service
      notificationMailProperties - the notification mail properties
  • Method Details

    • notify

      public tr.com.havelsan.javarch.mail.support.model.HvlMail notify(@NotNull @Valid @NotNull @Valid HvlNotificationMailRequestModel notificationMailRequestModel)
      Sends notification event with mail request object.
      Specified by:
      notify in interface HvlNotificationMailSenderService
      Parameters:
      notificationMailRequestModel - the notification mail request model
      Returns:
      the hvl mail
    • notifyWithContent

      public tr.com.havelsan.javarch.mail.support.model.HvlMail notifyWithContent(@NotNull @Valid @NotNull @Valid HvlNotificationMailRequestModelWithContent notificationMailRequestModelWithContent)
      Sends notification event with mail content request object.
      Specified by:
      notifyWithContent in interface HvlNotificationMailSenderService
      Parameters:
      notificationMailRequestModelWithContent - the notification mail with content request model
      Returns:
      the hvl mail
    • calendarNotify

      public tr.com.havelsan.javarch.mail.support.model.HvlMail calendarNotify(@NotNull @Valid @NotNull @Valid HvlCalendarNotificationRequestModel eventNotificationRequestModel)
      Sends calendar notification request object.
      Specified by:
      calendarNotify in interface HvlNotificationMailSenderService
      Parameters:
      eventNotificationRequestModel - the event notification request model
      Returns:
      the hvl mail