Uses of Class
fr.utc.miage.sporttrack.entity.user.communication.Notification
Packages that use Notification
Package
Description
-
Uses of Notification in fr.utc.miage.sporttrack.controller
Methods in fr.utc.miage.sporttrack.controller that return types with arguments of type NotificationModifier and TypeMethodDescriptionHeaderModelAdvice.recentNotifications(jakarta.servlet.http.HttpSession session) Retrieves the ten most recent notifications for the current athlete and makes them available to all views as"recentNotifications". -
Uses of Notification in fr.utc.miage.sporttrack.repository.user.communication
Methods in fr.utc.miage.sporttrack.repository.user.communication that return types with arguments of type NotificationModifier and TypeMethodDescriptionNotificationRepository.findByIdAndRecipientId(Integer id, Integer recipientId) Finds a notification by its identifier and the identifier of its recipient.NotificationRepository.findByRecipientIdAndSeenFalseOrderByCreatedAtDesc(Integer recipientId) Finds all unseen notifications for the specified recipient, ordered by creation time descending.NotificationRepository.findByRecipientIdOrderByCreatedAtDesc(Integer recipientId) Finds all notifications for the specified recipient, ordered by creation time descending.NotificationRepository.findTop10ByRecipientIdOrderByCreatedAtDesc(Integer recipientId) Finds the ten most recent notifications for the specified recipient. -
Uses of Notification in fr.utc.miage.sporttrack.service.user.communication
Methods in fr.utc.miage.sporttrack.service.user.communication that return NotificationModifier and TypeMethodDescriptionNotificationService.createNotification(Athlete recipient, Athlete actor, NotificationType type, String title, String content, String targetUrl) Creates and persists a new notification.NotificationService.getNotificationForRecipient(Integer notificationId, Integer recipientId) Returns a specific notification if it belongs to the specified recipient.Methods in fr.utc.miage.sporttrack.service.user.communication that return types with arguments of type NotificationModifier and TypeMethodDescriptionNotificationService.getNotificationsForAthlete(Integer athleteId) Returns all notifications for the specified athlete, ordered newest first.NotificationService.getRecentNotifications(Integer athleteId) Returns the ten most recent notifications for the specified athlete.