Uses of Record Class
com.fiap.tech_challenge.parte1.ms_users.dtos.UsersRequestDTO
Packages that use UsersRequestDTO
Package
Description
-
Uses of UsersRequestDTO in com.fiap.tech_challenge.parte1.ms_users.controllers
Methods in com.fiap.tech_challenge.parte1.ms_users.controllers with parameters of type UsersRequestDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<CreateUserDTO>
UsersController.create
(@Valid UsersRequestDTO dto) Creates a new user. -
Uses of UsersRequestDTO in com.fiap.tech_challenge.parte1.ms_users.services
Methods in com.fiap.tech_challenge.parte1.ms_users.services with parameters of type UsersRequestDTOModifier and TypeMethodDescriptionUsersService.createUser
(UsersRequestDTO dto) Creates a new user and saves their associated addresses. -
Uses of UsersRequestDTO in com.fiap.tech_challenge.parte1.ms_users.services.validation
Methods in com.fiap.tech_challenge.parte1.ms_users.services.validation with parameters of type UsersRequestDTOModifier and TypeMethodDescriptionvoid
UsersValidationService.validateAll
(UsersRequestDTO dto) Runs all registered UserValidators to validate the provided UsersRequestDTO. -
Uses of UsersRequestDTO in com.fiap.tech_challenge.parte1.ms_users.validators
Methods in com.fiap.tech_challenge.parte1.ms_users.validators with parameters of type UsersRequestDTOModifier and TypeMethodDescriptionvoid
DuplicatedAddressValidator.validate
(UsersRequestDTO dto) Validates the list of addresses in the givenUsersRequestDTO
to ensure no duplicates exist.void
EmailValidator.validate
(UsersRequestDTO dto) Validates whether the email in the givenUsersRequestDTO
already exists.void
LoginValidator.validate
(UsersRequestDTO dto) Validates whether the login in the givenUsersRequestDTO
already exists.void
UserValidator.validate
(UsersRequestDTO dto) Validates the providedUsersRequestDTO
.