Uses of Record Class
com.fiap.tech_challenge.parte1.ms_users.dtos.UsersResponseDTO
Packages that use UsersResponseDTO
Package
Description
-
Uses of UsersResponseDTO in com.fiap.tech_challenge.parte1.ms_users.controllers
Methods in com.fiap.tech_challenge.parte1.ms_users.controllers that return types with arguments of type UsersResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<UsersResponseDTO>>
UsersController.findAllUsers
(int size, int page) Retrieves a paginated list of users.org.springframework.http.ResponseEntity<UsersResponseDTO>
Retrieves a user by their unique ID.org.springframework.http.ResponseEntity<UsersResponseDTO>
UsersController.updateUser
(UUID id, @Valid UpdateUserDTO dto) Updates user details. -
Uses of UsersResponseDTO in com.fiap.tech_challenge.parte1.ms_users.dtos
Methods in com.fiap.tech_challenge.parte1.ms_users.dtos that return UsersResponseDTOModifier and TypeMethodDescriptionCreateUserDTO.user()
Returns the value of theuser
record component.Constructors in com.fiap.tech_challenge.parte1.ms_users.dtos with parameters of type UsersResponseDTOModifierConstructorDescriptionCreateUserDTO
(UsersResponseDTO user, String tokenJWT) Creates an instance of aCreateUserDTO
record class. -
Uses of UsersResponseDTO in com.fiap.tech_challenge.parte1.ms_users.mappers
Methods in com.fiap.tech_challenge.parte1.ms_users.mappers that return UsersResponseDTOModifier and TypeMethodDescriptionUserMapper.toResponseDTO
(User user) Converts a singleUser
entity to aUsersResponseDTO
.Methods in com.fiap.tech_challenge.parte1.ms_users.mappers that return types with arguments of type UsersResponseDTOModifier and TypeMethodDescriptionUserMapper.toResponseDTO
(List<User> users) Converts a list ofUser
entities to a list ofUsersResponseDTO
s. -
Uses of UsersResponseDTO in com.fiap.tech_challenge.parte1.ms_users.services
Methods in com.fiap.tech_challenge.parte1.ms_users.services that return UsersResponseDTOModifier and TypeMethodDescriptionUsersService.createUser
(UsersRequestDTO dto) Creates a new user and saves their associated addresses.Retrieves a user by ID, including their associated addresses.UsersService.updateUser
(UUID id, UpdateUserDTO dto) Updates user information including name, email, login, and address.Methods in com.fiap.tech_challenge.parte1.ms_users.services that return types with arguments of type UsersResponseDTOModifier and TypeMethodDescriptionUsersService.findAllUsers
(int size, int page) Retrieves a paginated list of all users and their addresses.