Interface HvlNotificationPollingUserOperationalManager
- All Known Implementing Classes:
HvlNotificationPollingUserOperationalManagerImpl
@Validated
public interface HvlNotificationPollingUserOperationalManager
This service provides operational and retrieve methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes notification according to expirationDatedefault void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Delete by uuid.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid, Optional<String> username) Delete by uuid.void
markAllRead
(@NotBlank @Size(max=50) String assigneeUser) Marks all unread notification as readvoid
markReadNotificationByUuid
(@NotBlank @Size(min=36,max=36) String uuid, @NotEmpty String username) Mark read notification by uuid.void
markReadNotificationByUuidSetModel
(@NotNull @Valid HvlNotificationPollingUuidSetModel notificationPollingUuidSetModelSet, @NotEmpty String username) Mark read notification by uuid.sendNotification
(@NotNull @Valid HvlNotificationPollingUserModel notificationPollingUserModel) Sends user specific notification
-
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 uuidusername
- 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 setusername
- the username
-
markAllRead
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 uuidusername
- the username
-
deleteBulk
void deleteBulk()Deletes notification according to expirationDate
-