Interface HvlNotificationPollingUserManager
- All Known Implementing Classes:
HvlNotificationPollingUserManagerImpl
@Validated
public interface HvlNotificationPollingUserManager
This service provides operational and retrieve methods.
-
Method Summary
Modifier and TypeMethodDescriptiongetNotificationList
(@NotNull @Valid HvlNotificationPollingUserQueryModel notificationPollingUserQueryModel) Gets notifications according to NotificationQueryModeltr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlNotificationPollingUserModel>
getNotificationPage
(@NotNull @Valid HvlNotificationPollingUserQueryModel notificationPollingUserQueryModel) Gets notifications according to pollingNotificationQueryModelgetUnreadNotificationCount
(@NotBlank @Size(max=50) String assigneeUser) Gets unread notification count according to token ownergetUnreadNotificationCountByType
(@NotBlank @Size(max=50) String assigneeUser) Gets unread notification count sub model according to token owner by type
-
Method Details
-
getUnreadNotificationCount
Integer getUnreadNotificationCount(@NotBlank @Size(max=50) @NotBlank @Size(max=50) String assigneeUser) Gets unread notification count according to token owner- Parameters:
assigneeUser
- the assignee user- Returns:
- unread notification count
-
getUnreadNotificationCountByType
HvlNotificationSubCountModel getUnreadNotificationCountByType(@NotBlank @Size(max=50) @NotBlank @Size(max=50) String assigneeUser) Gets unread notification count sub model according to token owner by type- Parameters:
assigneeUser
- the assignee user- Returns:
- unread notification count
-
getNotificationPage
@Validated(HvlNotificationPollingUserValidation.class) tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlNotificationPollingUserModel> getNotificationPage(@NotNull @Valid @NotNull @Valid HvlNotificationPollingUserQueryModel notificationPollingUserQueryModel) Gets notifications according to pollingNotificationQueryModel- Parameters:
notificationPollingUserQueryModel
- the notification polling user query model- Returns:
- notification page
-
getNotificationList
@Validated(HvlNotificationPollingUserValidation.class) List<HvlNotificationPollingUserModel> getNotificationList(@NotNull @Valid @NotNull @Valid HvlNotificationPollingUserQueryModel notificationPollingUserQueryModel) Gets notifications according to NotificationQueryModel- Parameters:
notificationPollingUserQueryModel
- the notification polling user query model- Returns:
- notification list
-