Uses of Class
ntnu.idatt2016.v233.SmartMat.entity.group.UserGroupAsso
Packages that use UserGroupAsso
Package
Description
-
Uses of UserGroupAsso in ntnu.idatt2016.v233.SmartMat.controller.group
Methods in ntnu.idatt2016.v233.SmartMat.controller.group that return types with arguments of type UserGroupAssoModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<UserGroupAsso>>
GroupController.getAllGroupsByUser
(org.springframework.security.core.Authentication auth) Handles the HTTP DELETE request to remove a user from a group. -
Uses of UserGroupAsso in ntnu.idatt2016.v233.SmartMat.entity.group
Methods in ntnu.idatt2016.v233.SmartMat.entity.group with parameters of type UserGroupAsso -
Uses of UserGroupAsso in ntnu.idatt2016.v233.SmartMat.entity.user
Methods in ntnu.idatt2016.v233.SmartMat.entity.user with parameters of type UserGroupAssoModifier and TypeMethodDescriptionvoid
User.addGroup
(UserGroupAsso userGroupTable) adds a group to the user -
Uses of UserGroupAsso in ntnu.idatt2016.v233.SmartMat.repository.group
Methods in ntnu.idatt2016.v233.SmartMat.repository.group that return types with arguments of type UserGroupAssoModifier and TypeMethodDescriptionUserGroupAssoRepository.findAllByGroup
(Group group) Retrieves a list of UserGroupAsso objects for the specified Group object.UserGroupAssoRepository.findAllByGroupAndUser
(Group group, User user) Finds all UserGroupAsso objects associated with the specified group and user.UserGroupAssoRepository.findAllByUserUsername
(String username) Finds all groups a user is a member ofUserGroupAssoRepository.findByUser_UsernameAndPrimaryGroupTrue
(String username) Finds primary group for given userUserGroupAssoRepository.findByUserGroupId
(UserGroupId userGroupId) Finds UserGroupAsso by UserGroupIdUserGroupAssoRepository.findFirstByUserAndPrimaryGroup
(User user, boolean primaryGroup) Finds the first UserGroupAsso object associated with the specified user and primary group status. -
Uses of UserGroupAsso in ntnu.idatt2016.v233.SmartMat.service.group
Methods in ntnu.idatt2016.v233.SmartMat.service.group that return UserGroupAssoModifier and TypeMethodDescriptionGroupService.updateUserGroupAsso
(UserGroupAsso userGroupAsso) Updates a user group associationMethods in ntnu.idatt2016.v233.SmartMat.service.group that return types with arguments of type UserGroupAssoModifier and TypeMethodDescriptionGroupService.findPrimaryUserGroupAssoForUser
(String username) Finds the primary group for a userGroupService.getUserGroupAsso
(String username, Long groupId) Gets a user group associationGroupService.getUserGroupAssoByUserName
(String username) Gets all user group associations for a userMethods in ntnu.idatt2016.v233.SmartMat.service.group with parameters of type UserGroupAssoModifier and TypeMethodDescriptionboolean
GroupService.removeUserFromGroup
(UserGroupAsso userGroup) removes user_group relatioonGroupService.updateUserGroupAsso
(UserGroupAsso userGroupAsso) Updates a user group association