Interface HvlNotificationMailRestService

All Known Implementing Classes:
HvlNotificationMailRestController

@HvlPublicFeignRestService @FeignClient(name="notificationMailRestService", path="${hvl.notification.mail.service.path:/notification/mail}", url="${hvl.notification.mail.service.url}") public interface HvlNotificationMailRestService
A restful service which provides specific methods for mail notifications.
  • Method Details

    • notify

      @PostMapping(path="/notify", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> notify(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationMailRequestModel notificationMailRequestModel)
      Sends notification event with mail request object.
      Parameters:
      notificationMailRequestModel - the notification mail request model
      Returns:
      the hvl response
    • notifyWithContent

      @PostMapping(path="/notify-with-content", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> notifyWithContent(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationMailRequestModelWithContent notificationMailRequestModelWithContent)
      Sends notification event with mail content request object.
      Parameters:
      notificationMailRequestModelWithContent - the notification mail request model with content
      Returns:
      the hvl response
    • preview

      @PostMapping(path="/preview", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlNotificationTemplateContentModel> preview(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationPreviewModel notificationPreviewModel)
      Provides preview for mail content with attributes.
      Parameters:
      notificationPreviewModel - the notification preview model
      Returns:
      the hvl response
    • calendarNotify

      @PostMapping(path="/calendar-notify", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> calendarNotify(@NotNull @Valid @RequestBody @NotNull @Valid HvlCalendarNotificationRequestModel notificationEventRequestModel)
      Sends calendar notification request object.
      Parameters:
      notificationEventRequestModel - the notification event request model
      Returns:
      the hvl response