Uses of Class
fr.utc.miage.sporttrack.entity.event.Objective
Packages that use Objective
Package
Description
-
Uses of Objective in fr.utc.miage.sporttrack.repository.event
Methods in fr.utc.miage.sporttrack.repository.event that return types with arguments of type ObjectiveModifier and TypeMethodDescriptionObjectiveRepository.findByAthlete(Athlete athlete) Finds all objectives belonging to the specified athlete.ObjectiveRepository.findByIdAndAthlete_Id(int id, Integer athleteId) Finds an objective by its identifier and the identifier of the owning athlete. -
Uses of Objective in fr.utc.miage.sporttrack.service.event
Methods in fr.utc.miage.sporttrack.service.event that return ObjectiveModifier and TypeMethodDescriptionObjectiveService.markAsCompleted(int id, Athlete athlete) Marks the specified objective as completed for the given athlete.Methods in fr.utc.miage.sporttrack.service.event that return types with arguments of type ObjectiveModifier and TypeMethodDescriptionObjectiveService.getObjectivesByUser(Athlete athlete) Returns all objectives belonging to the specified athlete.Methods in fr.utc.miage.sporttrack.service.event with parameters of type ObjectiveModifier and TypeMethodDescriptionbooleanObjectiveService.isObjectiveCompleted(Objective objective, List<Activity> activities) Determines whether an objective is considered completed based on the provided list of activities.voidObjectiveService.saveObjective(Objective objective, Athlete athlete, Sport sport) Saves a new objective associated with the given athlete and sport. -
Uses of Objective in fr.utc.miage.sporttrack.service.user.communication
Methods in fr.utc.miage.sporttrack.service.user.communication with parameters of type ObjectiveModifier and TypeMethodDescriptionvoidNotificationService.notifyObjectiveCompleted(Athlete athlete, Objective objective) Sends a notification to the athlete that an objective has been completed.