Uses of Class
vaultWeb.models.Poll
Packages that use Poll
-
Uses of Poll in vaultWeb.repositories
Methods in vaultWeb.repositories that return types with arguments of type PollMethods in vaultWeb.repositories with parameters of type PollModifier and TypeMethodDescriptionbooleanPollVoteRepository.existsByOption_PollAndUser(Poll poll, User user) -
Uses of Poll in vaultWeb.services
Methods in vaultWeb.services that return PollModifier 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.Methods in vaultWeb.services that return types with arguments of type PollModifier and TypeMethodDescriptionPollService.getPollsByGroup(Long groupId, User currentUser) Retrieves all polls for a given group.Methods in vaultWeb.services with parameters of type PollModifier and TypeMethodDescriptionPollService.toResponseDto(Poll poll) Converts a Poll entity to a PollResponseDto suitable for API responses.