Uses of Enum Class
web.sportflow.user.Sex
Packages that use Sex
-
Uses of Sex in web.sportflow.admin
Methods in web.sportflow.admin with parameters of type SexModifier and TypeMethodDescriptionAdminController.createUser(String firstname, String lastname, String email, String password, Role role, Double weight, Double height, Sex sex, PracticeLevel level, LocalDate birthDate, String profileImagePath, List<Long> sportIds, List<Long> badgeIds, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) AdminController.updateUser(Long userId, String firstname, String lastname, String email, String password, Role role, Double weight, Double height, Sex sex, PracticeLevel level, LocalDate birthDate, String profileImagePath, List<Long> sportIds, List<Long> badgeIds, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) -
Uses of Sex in web.sportflow.user
Methods in web.sportflow.user that return SexModifier and TypeMethodDescriptionUser.getSex()RegistrationDTO.sex()Returns the value of thesexrecord component.static SexReturns the enum constant of this class with the specified name.static Sex[]Sex.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in web.sportflow.user with parameters of type SexModifier and TypeMethodDescriptionvoidUserService.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) Constructors in web.sportflow.user with parameters of type SexModifierConstructorDescriptionRegistrationDTO(String email, String password, String firstname, String lastname, Sex sex, Double weight, Double height) Creates an instance of aRegistrationDTOrecord class.User(String firstname, String lastname, String email, Double weight, Double height, Sex sex, LocalDate birthDate, PracticeLevel level) User(String firstname, String lastname, String email, String password, Double weight, Double height, Sex sex, LocalDate birthDate, PracticeLevel level)