Uses of Record Class
com.alpaca.dto.response.RoleResponseDTO
Packages that use RoleResponseDTO
-
Uses of RoleResponseDTO in com.alpaca.controller
Methods in com.alpaca.controller that return types with arguments of type RoleResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<List<RoleResponseDTO>> RoleController.findAll()
Retrieves allRoleResponseDTO
s.org.springframework.http.ResponseEntity
<org.springframework.data.web.PagedModel<RoleResponseDTO>> RoleController.findAllPage
(org.springframework.data.domain.Pageable pageable) Retrieves a paginated list ofRoleResponseDTO
s.org.springframework.http.ResponseEntity
<RoleResponseDTO> Retrieves aRoleResponseDTO
by its unique identifier.org.springframework.http.ResponseEntity
<RoleResponseDTO> RoleController.save
(@Valid RoleRequestDTO request) Creates a newRole
.org.springframework.http.ResponseEntity
<RoleResponseDTO> RoleController.updateById
(@Valid RoleRequestDTO request, UUID id) Updates an existingRole
identified by its unique identifier. -
Uses of RoleResponseDTO in com.alpaca.dto.response
Fields in com.alpaca.dto.response with type parameters of type RoleResponseDTOModifier and TypeFieldDescriptionprivate final List
<RoleResponseDTO> UserResponseDTO.roles
The field for theroles
record component.Methods in com.alpaca.dto.response that return types with arguments of type RoleResponseDTOModifier and TypeMethodDescriptionUserResponseDTO.roles()
Returns the value of theroles
record component.Constructor parameters in com.alpaca.dto.response with type arguments of type RoleResponseDTOModifierConstructorDescriptionUserResponseDTO
(UUID id, String email, List<RoleResponseDTO> roles, ProfileResponseDTO profile, AdvertiserResponseDTO advertiser) Creates an instance of aUserResponseDTO
record class. -
Uses of RoleResponseDTO in com.alpaca.mapper.impl
Methods in com.alpaca.mapper.impl that return RoleResponseDTOModifier and TypeMethodDescriptionRoleMapperImpl.toResponseDTO
(Role entity) Converts aRole
entity into aRoleResponseDTO
.Methods in com.alpaca.mapper.impl that return types with arguments of type RoleResponseDTOModifier and TypeMethodDescriptionRoleMapperImpl.toListResponseDTO
(Collection<Role> entities) Converts a collection ofRole
entities into a list ofRoleResponseDTO
.