Package fr.utc.miage.sporttrack.util
Class Messages
java.lang.Object
fr.utc.miage.sporttrack.util.Messages
Centralized error and information messages for the SportTrack application.
Provides consistent messaging across controllers and services.
- Author:
- SportTrack Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringError message when activity creation is reserved for athletes.static final StringError message when activity is not found.static final StringError message when user/athlete is not found.static final StringError message when badge is not found.static final StringError message when challenge is not found.static final StringSuccess message for friend removed.static final StringSuccess message for friend request accepted.static final StringSuccess message for friend request rejected.static final StringSuccess message for friend request sent.static final StringError message for invalid activity.static final StringError message for invalid challenge dates.static final StringError message for invalid registration.static final StringError message for invalid sport selection.static final StringError message when password confirmation does not match.static final StringError message when selected sport is not found.static final StringError message when sport is not found.static final StringSuccess message for user blocked.static final StringSuccess message for user unblocked. -
Method Summary
-
Field Details
-
PASSWORD_MISMATCH
Error message when password confirmation does not match.- See Also:
-
INVALID_REGISTRATION
Error message for invalid registration.- See Also:
-
SPORT_NOT_FOUND
Error message when sport is not found.- See Also:
-
ACTIVITY_NOT_FOUND
Error message when activity is not found.- See Also:
-
BADGE_NOT_FOUND
Error message when badge is not found.- See Also:
-
CHALLENGE_NOT_FOUND
Error message when challenge is not found.- See Also:
-
ATHLETE_NOT_FOUND
Error message when user/athlete is not found.- See Also:
-
ACTIVITY_CREATION_RESERVED
Error message when activity creation is reserved for athletes.- See Also:
-
INVALID_ACTIVITY
Error message for invalid activity.- See Also:
-
INVALID_SPORT_SELECTION
Error message for invalid sport selection.- See Also:
-
SELECTED_SPORT_NOT_FOUND
Error message when selected sport is not found.- See Also:
-
INVALID_CHALLENGE_DATES
Error message for invalid challenge dates.- See Also:
-
FRIEND_REQUEST_SENT
Success message for friend request sent.- See Also:
-
FRIEND_REQUEST_ACCEPTED
Success message for friend request accepted.- See Also:
-
FRIEND_REQUEST_REJECTED
Success message for friend request rejected.- See Also:
-
FRIEND_REMOVED
Success message for friend removed.- See Also:
-
USER_BLOCKED
Success message for user blocked.- See Also:
-
USER_UNBLOCKED
Success message for user unblocked.- See Also:
-