Interface HvlNotificationPollingAnnouncementRestService
- All Known Implementing Classes:
HvlNotificationPollingAnnouncementRestController
@HvlPublicFeignRestService
@FeignClient(name="notificationPollingRestService",
path="${hvl.notification.polling.service.announcement.path:/polling/announcement}",
url="${hvl.notification.polling.service.announcement.url:${hvl.notification.polling.service.url}}")
public interface HvlNotificationPollingAnnouncementRestService
A restful service which provides specific methods for notification polling announcements.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlNotificationPollingAnnouncementModel>>
queryPage
(@NotNull HvlNotificationPollingAnnouncementQueryModel pollingAnnouncementQueryModel) Returns a page of announcement matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<HvlNotificationPollingAnnouncementModel>
send
(@NotNull @Valid HvlNotificationPollingAnnouncementModel pollingAnnouncementModel) Sends announcement notification.
-
Method Details
-
send
@PostMapping(path="/send", produces="application/json", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlNotificationPollingAnnouncementModel> send(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationPollingAnnouncementModel pollingAnnouncementModel) Sends announcement notification.- Parameters:
pollingAnnouncementModel
- the polling announcement model- Returns:
- the hvl response
-
queryPage
@PostMapping(path="/page", produces="application/json", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlNotificationPollingAnnouncementModel>> queryPage(@NotNull @RequestBody @NotNull HvlNotificationPollingAnnouncementQueryModel pollingAnnouncementQueryModel) Returns a page of announcement matching the query criteria.- Parameters:
pollingAnnouncementQueryModel
- the polling announcement query model- Returns:
- the hvl response
-