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 TypeMethodDescriptionvoidUsersValidationService.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 TypeMethodDescriptionvoidDuplicatedAddressValidator.validate(UsersRequestDTO dto) Validates the list of addresses in the givenUsersRequestDTOto ensure no duplicates exist.voidEmailValidator.validate(UsersRequestDTO dto) Validates whether the email in the givenUsersRequestDTOalready exists.voidLoginValidator.validate(UsersRequestDTO dto) Validates whether the login in the givenUsersRequestDTOalready exists.voidUserValidator.validate(UsersRequestDTO dto) Validates the providedUsersRequestDTO.