Uses of Class
vaultWeb.dtos.PollRequestDto
Packages that use PollRequestDto
-
Uses of PollRequestDto in vaultWeb.controllers
Methods in vaultWeb.controllers with parameters of type PollRequestDtoModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PollResponseDto> PollController.createPoll(Long groupId, @Valid PollRequestDto pollDto) Creates a new poll in the specified group.org.springframework.http.ResponseEntity<PollResponseDto> PollController.updatePoll(Long groupId, Long pollId, @Valid PollRequestDto pollDto) Updates an existing poll. -
Uses of PollRequestDto in vaultWeb.services
Methods in vaultWeb.services with parameters of type PollRequestDtoModifier and TypeMethodDescriptionPollService.createPoll(Group group, User author, PollRequestDto pollDto) Creates a new poll in the specified group by the given author.PollService.updatePoll(Long groupId, Long pollId, User user, PollRequestDto pollDto) Updates an existing poll authored by a user.