Interface HvlNotificationPollingUserOperationalManager

All Known Implementing Classes:
HvlNotificationPollingUserOperationalManagerImpl

@Validated public interface HvlNotificationPollingUserOperationalManager
This service provides operational and retrieve methods.
  • Method Details

    • sendNotification

      HvlNotificationPollingUserModel sendNotification(@NotNull @Valid @NotNull @Valid HvlNotificationPollingUserModel notificationPollingUserModel)
      Sends user specific notification
      Parameters:
      notificationPollingUserModel - the notification polling user model
      Returns:
      hvl notification polling user model
    • markReadNotificationByUuid

      void markReadNotificationByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, @NotEmpty @NotEmpty String username)
      Mark read notification by uuid.
      Parameters:
      uuid - the uuid
      username - the username
    • markReadNotificationByUuidSetModel

      void markReadNotificationByUuidSetModel(@NotNull @Valid @NotNull @Valid HvlNotificationPollingUuidSetModel notificationPollingUuidSetModelSet, @NotEmpty @NotEmpty String username)
      Mark read notification by uuid.
      Parameters:
      notificationPollingUuidSetModelSet - the notification polling uuid set model set
      username - the username
    • markAllRead

      void markAllRead(@NotBlank @Size(max=50) @NotBlank @Size(max=50) String assigneeUser)
      Marks all unread notification as read
      Parameters:
      assigneeUser - the assignee user
    • deleteByUuid

      default void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Delete by uuid.
      Parameters:
      uuid - the uuid
    • deleteByUuid

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, Optional<String> username)
      Delete by uuid.
      Parameters:
      uuid - the uuid
      username - the username
    • deleteBulk

      void deleteBulk()
      Deletes notification according to expirationDate