Uses of Class
fr.utc.miage.sporttrack.entity.event.Badge
Packages that use Badge
Package
Description
-
Uses of Badge in fr.utc.miage.sporttrack.repository.event
Methods in fr.utc.miage.sporttrack.repository.event that return types with arguments of type BadgeModifier and TypeMethodDescriptionBadgeRepository.findByEarnedBy_Id(Integer athleteId) Finds all badges earned by the specified athlete.BadgeRepository.findByIdNotIn(List<Integer> ids) Finds all badges whose identifiers are not in the provided list.BadgeRepository.findBySportId(Integer sportId) Finds all badges associated with the specified sport.BadgeRepository.findBySportIsNull()Finds all badges with no sport assigned (universal badges that apply to all sports). -
Uses of Badge in fr.utc.miage.sporttrack.service.event
Methods in fr.utc.miage.sporttrack.service.event that return BadgeModifier and TypeMethodDescriptionBadgeService.findById(int id) Finds a badge by its unique identifier.Methods in fr.utc.miage.sporttrack.service.event that return types with arguments of type BadgeModifier and TypeMethodDescriptionBadgeService.findAll()Returns all badges in the database.BadgeService.getEarnedBadges(Integer athleteId) Returns all badges earned by the specified athlete.BadgeService.getRecentBadges(Integer athleteId, int limit) Returns the N most recently earned badges for the specified athlete.BadgeService.getUnearnedBadges(Integer athleteId) Returns all badges not yet earned by the specified athlete.Methods in fr.utc.miage.sporttrack.service.event with parameters of type Badge -
Uses of Badge in fr.utc.miage.sporttrack.service.user.communication
Methods in fr.utc.miage.sporttrack.service.user.communication with parameters of type BadgeModifier and TypeMethodDescriptionvoidNotificationService.notifyBadgeEarned(Athlete athlete, Badge badge) Sends a notification to the athlete that they have earned a badge.