public class WebNotificationService
extends org.youngmonkeys.ezyplatform.service.DefaultNotificationService
| Constructor | Description |
|---|---|
WebNotificationService(org.youngmonkeys.ezyplatform.time.ClockProxy clock,
WebNotificationRepository notificationRepository,
WebNotificationReceiverRepository notificationReceiverRepository,
WebEntityToModelConverter entityToModelConverter,
WebModelToEntityConverter modelToEntityConverter) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
countUserUnreadNotifications(long userId) |
|
void |
deleteUserNotification(long userId,
long notificationId) |
|
void |
deleteUserNotification(long userId,
long notificationId,
boolean throwExceptionIfNotExists) |
|
void |
deleteUserNotifications(long userId,
Collection<Long> notificationIds) |
|
org.youngmonkeys.ezyplatform.model.NotificationModel |
getUserNotification(long userId,
long notificationId) |
|
void |
updateAllUserNotificationsByRead(long userId) |
|
void |
updateUserNotificationByRead(long userId,
long notificationId) |
|
void |
updateUserNotificationByRead(long userId,
long notificationId,
boolean throwExceptionIfNotExists) |
|
void |
updateUserNotificationByReceive(long userId,
long notificationId) |
|
void |
updateUserNotificationByReceive(long userId,
long notificationId,
boolean throwExceptionIfNotExists) |
|
void |
updateUserNotificationsByRead(long userId,
Collection<Long> notificationIds) |
|
void |
updateUserNotificationsByReceive(long userId,
Collection<Long> notificationIds) |
public WebNotificationService(org.youngmonkeys.ezyplatform.time.ClockProxy clock,
WebNotificationRepository notificationRepository,
WebNotificationReceiverRepository notificationReceiverRepository,
WebEntityToModelConverter entityToModelConverter,
WebModelToEntityConverter modelToEntityConverter)
public void updateUserNotificationByReceive(long userId,
long notificationId)
public void updateUserNotificationByReceive(long userId,
long notificationId,
boolean throwExceptionIfNotExists)
public void updateUserNotificationsByReceive(long userId,
Collection<Long> notificationIds)
public void updateUserNotificationByRead(long userId,
long notificationId)
public void updateUserNotificationByRead(long userId,
long notificationId,
boolean throwExceptionIfNotExists)
public void updateUserNotificationsByRead(long userId,
Collection<Long> notificationIds)
public void updateAllUserNotificationsByRead(long userId)
public void deleteUserNotification(long userId,
long notificationId)
public void deleteUserNotification(long userId,
long notificationId,
boolean throwExceptionIfNotExists)
public void deleteUserNotifications(long userId,
Collection<Long> notificationIds)
public org.youngmonkeys.ezyplatform.model.NotificationModel getUserNotification(long userId,
long notificationId)
public long countUserUnreadNotifications(long userId)
Copyright © 2026 Young Monkeys. All rights reserved.