Interface HvlNotificationAdminPollingUserRestService

All Known Implementing Classes:
HvlNotificationAdminPollingUserRestController

@Validated @HvlPublicFeignRestService @FeignClient(name="notificationPollingRestService", path="${hvl.notification.polling.service.user.path:/polling/user}", url="${hvl.notification.polling.service.user.url:${hvl.notification.polling.service.url}}") public interface HvlNotificationAdminPollingUserRestService
A restful service which provides specific methods for notification polling admin.
  • Method Details

    • deleteByUuidSet

      @PostMapping(path="/admin/delete/by-uuids/", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deleteByUuidSet(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationPollingUuidSetModel notificationPollingUuidSetModel)
      Deletes notification by admin.
      Parameters:
      notificationPollingUuidSetModel - the notification polling uuid set model
      Returns:
      the hvl response
    • getUnreadNotificationSubCountByUser

      @GetMapping(path="/admin/unread/sub-count/by-user/{user}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlNotificationSubCountModel> getUnreadNotificationSubCountByUser(@NotBlank @Size(max=50) @PathVariable("user") @NotBlank @Size(max=50) String user)
      Returns unread notification count according to user by type.
      Returns:
      the hvl response
    • queryPage

      @PostMapping(path="/admin/page", produces="application/json", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlNotificationPollingUserModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationPollingUserQueryModel pollingUserQueryModel)
      Returns a page of notification matching the query criteria.
      Parameters:
      pollingUserQueryModel - the polling user query model
      Returns:
      the hvl response