Uses of Class
web.sportflow.user.User
Packages that use User
Package
Description
-
Uses of User in web.sportflow.admin
Methods in web.sportflow.admin with parameters of type UserModifier and TypeMethodDescriptionAdminController.deleteUser(Long userId, User currentUser, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) -
Uses of User in web.sportflow.challenge
Methods in web.sportflow.challenge that return UserMethods in web.sportflow.challenge that return types with arguments of type UserMethods in web.sportflow.challenge with parameters of type UserModifier and TypeMethodDescriptionChallengeService.buildProgressByChallenge(List<Challenge> challenges, User currentUser) ChallengeService.getFriendsAndUserChallenge(User currentUser) voidChallengeService.joinChallenge(Long challengeId, User currentUser) voidChallengeService.leaveChallenge(Long challengeId, User currentUser) voidChallenge.setCreator(User creator) ChallengeService.syncChallengeBadgesForUser(List<Challenge> challenges, User currentUser) Method parameters in web.sportflow.challenge with type arguments of type UserModifier and TypeMethodDescriptionChallengeRepository.findByCreatorIn(List<User> users) voidChallenge.setParticipants(List<User> participants) Constructors in web.sportflow.challenge with parameters of type UserModifierConstructorDescriptionChallenge(String title, String description, ChallengeType type, Double targetValue, LocalDate startDate, LocalDate endDate, User creator) Challenge(String title, String description, ChallengeType type, Double targetValue, LocalDate startDate, LocalDate endDate, User creator, boolean official) -
Uses of User in web.sportflow.friendship
Methods in web.sportflow.friendship that return UserMethods in web.sportflow.friendship that return types with arguments of type UserMethods in web.sportflow.friendship with parameters of type UserModifier and TypeMethodDescriptionFriendshipService.getCurrentUserAndFriend(User currentUser) voidFriendship.setAddressee(User addressee) voidFriendship.setRequester(User requester) Constructors in web.sportflow.friendship with parameters of type UserModifierConstructorDescriptionFriendship(User requester, User addressee, FriendshipStatus status) -
Uses of User in web.sportflow.goal
Methods in web.sportflow.goal that return UserMethods in web.sportflow.goal with parameters of type UserMethod parameters in web.sportflow.goal with type arguments of type UserConstructors in web.sportflow.goal with parameters of type User -
Uses of User in web.sportflow.notification
Methods in web.sportflow.notification that return UserMethods in web.sportflow.notification with parameters of type UserModifier and TypeMethodDescriptionlongNotificationService.countUnread(User user) NotificationService.getRecentForUser(User user, int limit) voidNotificationService.markAllAsRead(User currentUser) NotificationController.markAllNotificationsAsRead(User currentUser, String returnTo) voidNotificationService.markAsRead(Long notificationId, User currentUser) NotificationController.markNotificationAsRead(User currentUser, Long notificationId, String returnTo) voidNotificationService.notifyCommentOnWorkout(Workout workout, User actor) voidNotificationService.notifyFriendRequestAccepted(Friendship friendship, User acceptedByUser) voidNotificationService.notifyFriendRequestRefused(Friendship friendship, User refusedByUser) voidNotificationService.notifyKudoOnWorkout(Workout workout, User actor) voidvoidNotification.setRecipient(User recipient) Constructors in web.sportflow.notification with parameters of type UserModifierConstructorDescriptionNotification(User recipient, User actor, NotificationType type, String message, String targetUrl) -
Uses of User in web.sportflow.user
Methods in web.sportflow.user that return UserModifier and TypeMethodDescriptionUserService.createUser(User user, String rawPassword, String codeStatut, Collection<Long> organizedConferenceIds, Collection<Long> participatingConferenceIds) UserService.registerUser(RegistrationDTO registrationDTO) UserService.registerUser(RegistrationDTO registrationDTO, boolean isAdmin) Master registration method.UserService.updateCurrentUserProfile(User currentUser, String firstname, String lastname, String email, Double weight, Double height, Sex sex, LocalDate birthDate, PracticeLevel level) Methods in web.sportflow.user that return types with arguments of type UserModifier and TypeMethodDescriptionUserService.authenticate(String email, String rawPassword) UserService.findAllUsers()UserRepository.findByEmail(String email) org.springframework.data.domain.Page<User> UserRepository.findByFirstnameContainingIgnoreCaseOrLastnameContainingIgnoreCase(String firstname, String lastname, org.springframework.data.domain.Pageable pageable) UserRepository.findByIdIn(List<Long> userIds) UserService.getAll()org.springframework.data.domain.Page<User> UserService.getAll(org.springframework.data.domain.Pageable pageable) UserService.getUserById(Long id) org.springframework.data.domain.Page<User> UserService.searchUsers(String searchString, org.springframework.data.domain.Pageable pageable) Methods in web.sportflow.user with parameters of type UserModifier and TypeMethodDescriptionUserController.acceptFriendRequest(User currentUser, Long friendshipId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) doubleUserService.calculateBMI(User user) doubleUserService.calculateBMR(User user) UserController.createUser(User user, String password, String codeStatut, List<Long> organizedConferenceIds, List<Long> participatingConferenceIds, org.springframework.ui.Model model) UserService.createUser(User user, String rawPassword, String codeStatut, Collection<Long> organizedConferenceIds, Collection<Long> participatingConferenceIds) UserService.getWorkoutRecommendation(User user) UserController.joinChallenge(User currentUser, Long challengeId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) UserController.leaveChallenge(User currentUser, Long challengeId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) UserController.manageFriends(User currentUser, String query, org.springframework.data.domain.Pageable pageable, org.springframework.ui.Model model) UserController.refuseFriendRequest(User currentUser, Long friendshipId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) voidUserController.sendFriendRequest(User currentUser, Long targetUserId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) UserController.showChallenges(User currentUser, String query, org.springframework.ui.Model model) UserController.showDashboard(User currentUser, org.springframework.ui.Model model) UserController.showEditProfile(User currentUser, org.springframework.ui.Model model) UserController.showProfile(User currentUser, org.springframework.ui.Model model) UserController.showStatistiquePage(User currentUser, org.springframework.ui.Model model) UserController.showUserProfile(User currentUser, Long userId, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) UserController.unfriend(User currentUser, Long friendId, String returnTo, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) UserService.updateCurrentUserProfile(User currentUser, String firstname, String lastname, String email, Double weight, Double height, Sex sex, LocalDate birthDate, PracticeLevel level) UserController.updateProfile(User currentUser, String firstname, String lastname, String email, Double weight, Double height, Sex sex, PracticeLevel level, LocalDate birthDate, org.springframework.web.multipart.MultipartFile avatarFile, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) -
Uses of User in web.sportflow.workout
Methods in web.sportflow.workout that return UserMethods in web.sportflow.workout that return types with arguments of type UserModifier and TypeMethodDescriptionWorkout.getOthersWhoKudoed(User currentUser) Workout.getUsersWhoKudoed()Methods in web.sportflow.workout with parameters of type UserModifier and TypeMethodDescriptionvoidWorkoutController.deleteComment(Long workoutId, Long commentId, User currentUser, org.springframework.ui.Model model) WorkoutController.deleteWorkout(Long workoutId, User currentUser) WorkoutController.editWorkoutForm(Long workoutId, org.springframework.ui.Model model, User currentUser) WorkoutRepository.findByUser(User user) WorkoutRepository.findByUserAndDateBetween(User user, LocalDateTime start, LocalDateTime end) WorkoutRepository.findByUserOrderByDateDesc(User user) WorkoutExerciseService.getAllForUser(User user) doubleWorkoutService.getAverageMonthlyDistanceThisYear(User user) WorkoutService.getCurrentMonthCurve(User user) doubleWorkoutService.getDistanceGapVsAverageMonthly(User user) WorkoutService.getIncompleteForUser(User user) WorkoutService.getMonthDistancesForChart(User user) WorkoutService.getMonthlyBarViewsCurrentYear(User user) WorkoutService.getMonthlyDistancesCurrentYear(User user) intWorkoutService.getMonthlyProgressPercent(User user, double monthlyGoalKm) Workout.getOthersWhoKudoed(User currentUser) doubleWorkoutService.getTotalCaloriesThisWeek(User user) doubleWorkoutService.getTotalDistanceThisMonth(User user) doubleWorkoutService.getTotalDistanceThisWeek(User user) doubleWorkoutService.getTotalDistanceThisYear(User user) doubleWorkoutService.getTotalDurationThisWeek(User user) WorkoutService.getWeekDistances(User user) WorkoutService.getYearAverageCurve(User user) WorkoutService.getYearDistancesForChart(User user) booleanWorkout.isKudoedBy(User user) WorkoutController.newWorkoutForm(org.springframework.ui.Model model, User currentUser) WorkoutController.postComment(Long workoutId, String content, User currentUser, org.springframework.ui.Model model) voidWorkout.removeKudo(User user) WorkoutController.saveWorkout(WorkoutDto workoutDto, List<String> exerciseIds, List<String> sets, List<String> reps, List<String> weightKg, List<String> durationMin, List<String> distanceM, List<String> averageBpm, List<String> elevationGainM, List<String> maxSpeedKmh, List<String> score, List<String> attempts, List<String> successfulAttempts, List<String> accuracyPercent, List<String> heightM, List<String> depthM, List<String> laps, List<String> rounds, String submitAction, User currentUser, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) WorkoutService.saveWorkout(Workout workout, User currentUser) voidWorkoutController.toggleKudo(Long id, User currentUser) voidWorkoutService.toggleKudo(Long workoutId, User currentUser) Constructors in web.sportflow.workout with parameters of type UserModifierConstructorDescriptionWorkout(String name, String description, LocalDateTime date, String address, Double durationSec, Double rating, Sport sport, WeatherStatsDTO weather, List<WorkoutExercise> exercises, User user) Workout(String name, LocalDateTime date, String address, WeatherStatsDTO weather, List<WorkoutExercise> exercises, Sport sport, User user) Workout(String name, LocalDateTime date, String address, WeatherStatsDTO weather, Sport sport, User user) Workout(String address, WeatherStatsDTO weather, Sport sport, User user) -
Uses of User in web.sportflow.workout.comment
Methods in web.sportflow.workout.comment that return UserMethods in web.sportflow.workout.comment with parameters of type UserModifier and TypeMethodDescriptionvoidCommentService.deleteComment(Long workoutId, Long commentId, User currentUser) voidConstructors in web.sportflow.workout.comment with parameters of type User