Uses of Class
vaultWeb.models.Group
Packages that use Group
-
Uses of Group in vaultWeb.controllers
Methods in vaultWeb.controllers that return types with arguments of type GroupModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Group> GroupController.createGroup(GroupDto groupDto) Creates a new group.org.springframework.http.ResponseEntity<Group> GroupController.getGroupById(Long id) Retrieves a group by its ID.GroupController.getGroups()Retrieves all public groups.org.springframework.http.ResponseEntity<Group> Current user joins a group.org.springframework.http.ResponseEntity<Group> GroupController.leaveGroup(Long id) Current user leaves a group.org.springframework.http.ResponseEntity<Group> GroupController.removeMemberFromGroup(Long groupId, Long userId) Removes a member from a group.org.springframework.http.ResponseEntity<Group> GroupController.updateGroup(Long id, GroupDto updatedGroup) Updates a group. -
Uses of Group in vaultWeb.models
Constructors in vaultWeb.models with parameters of type Group -
Uses of Group in vaultWeb.repositories
Methods in vaultWeb.repositories with parameters of type GroupModifier and TypeMethodDescriptionlongGroupMemberRepository.countByGroupAndRole(Group group, Role role) voidGroupMemberRepository.deleteByGroupAndUser(Group group, User userId) GroupMemberRepository.findAllByGroup(Group group) GroupMemberRepository.findByGroupAndUser(Group group, User user) -
Uses of Group in vaultWeb.services
Methods in vaultWeb.services that return GroupModifier and TypeMethodDescriptionGroupService.createGroup(GroupDto dto, User creator) Creates a new group with the given DTO and sets the creator as admin.Adds a user to a group as a regular member.GroupService.leaveGroup(Long groupId, User currentUser) Removes a user from a group.GroupService.removeMember(Long groupId, Long userId) Removes a specific user from a group.GroupService.updateGroup(Long id, GroupDto updatedGroup) Updates an existing group's details.Methods in vaultWeb.services that return types with arguments of type GroupModifier and TypeMethodDescriptionGroupService.getGroupById(Long id) Retrieves a group by its ID.GroupService.getPublicGroups()Retrieves all public groups.Methods in vaultWeb.services with parameters of type GroupModifier and TypeMethodDescriptionPollService.createPoll(Group group, User author, PollRequestDto pollDto) Creates a new poll in the specified group by the given author.