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 PollModifier and TypeMethodDescriptionPollRepository.findByGroupId(Long groupId) PollRepository.findByGroupIdIn(List<Long> groupIds) PollRepository.findByPrivateChatId(Long privateChatId) Methods in vaultWeb.repositories with parameters of type PollModifier and TypeMethodDescriptionvoidChatMessageRepository.deleteByPoll(Poll poll) booleanPollVoteRepository.existsByOption_PollAndUser(Poll poll, User user) -
Uses of Poll in vaultWeb.services
Methods in vaultWeb.services that return PollModifier and TypeMethodDescriptionPollService.createPoll(PollContext pollContext, User author, PollRequestDto pollDto) Creates a new poll in the specified group by the given author.PollService.updatePoll(Long pollId, User user, PollRequestDto pollDto) Updates an existing poll authored by a user.PollService.updatePollInGroup(Long groupId, Long pollId, User user, PollRequestDto pollDto) PollService.updatePollInPrivateChat(Long privateChatId, Long pollId, User user, PollRequestDto pollDto) 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.PollService.getPollsByPrivateChat(Long privateChatId, User currentUser) 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.