public interface WebNotificationReceiverRepository extends org.youngmonkeys.ezyplatform.repo.NotificationReceiverRepository, com.tvd12.ezydata.database.EzyDatabaseRepository<Long,org.youngmonkeys.ezyplatform.entity.NotificationReceiver>
| Modifier and Type | Method | Description |
|---|---|---|
long |
countUnreadNotificationsByToUserId(long toUserId) |
|
org.youngmonkeys.ezyplatform.entity.NotificationReceiver |
findByNotificationIdAndToUserId(long notificationId,
long toUserId) |
|
List<org.youngmonkeys.ezyplatform.entity.NotificationReceiver> |
findUnreadNotificationsByToUserId(long userId,
long notificationIdExclusive,
com.tvd12.ezyfox.util.Next next) |
containsById, findById, findByIdOptionalcontainsByField, findByField, findByFieldOptionalfindListByField, findListByFieldorg.youngmonkeys.ezyplatform.entity.NotificationReceiver findByNotificationIdAndToUserId(long notificationId,
long toUserId)
@EzyQuery(value="SELECT e FROM NotificationReceiver e WHERE e.toUserId = ?0 AND e.readAt is NULL AND e.notificationId < ?1") List<org.youngmonkeys.ezyplatform.entity.NotificationReceiver> findUnreadNotificationsByToUserId(long userId, long notificationIdExclusive, com.tvd12.ezyfox.util.Next next)
@EzyQuery(value="SELECT count(*) FROM NotificationReceiver e WHERE e.toUserId = ?0 AND e.readAt is NULL") long countUnreadNotificationsByToUserId(long toUserId)
Copyright © 2026 Young Monkeys. All rights reserved.