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 Summary
ConstructorDescriptionHvlNotificationMailSenderServiceImpl
(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. -
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.mail.support.model.HvlMail
calendarNotify
(@NotNull @Valid HvlCalendarNotificationRequestModel eventNotificationRequestModel) Sends calendar notification request object.tr.com.havelsan.javarch.mail.support.model.HvlMail
notify
(@NotNull @Valid HvlNotificationMailRequestModel notificationMailRequestModel) Sends notification event with mail request object.tr.com.havelsan.javarch.mail.support.model.HvlMail
notifyWithContent
(@NotNull @Valid HvlNotificationMailRequestModelWithContent notificationMailRequestModelWithContent) Sends notification event with mail content request object.
-
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 managerhtmlMailService
- the html mail servicemimeHtmlMailService
- the mime html mail servicecalendarMailService
- the calendar mail servicenotificationMailProperties
- 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 interfaceHvlNotificationMailSenderService
- 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 interfaceHvlNotificationMailSenderService
- 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 interfaceHvlNotificationMailSenderService
- Parameters:
eventNotificationRequestModel
- the event notification request model- Returns:
- the hvl mail
-