Uses of Class
edu.ucsb.cs156.frontiers.entities.User
Packages that use User
Package
Description
-
Uses of User in edu.ucsb.cs156.frontiers.models
Methods in edu.ucsb.cs156.frontiers.models with parameters of type User -
Uses of User in edu.ucsb.cs156.frontiers.repositories
Methods in edu.ucsb.cs156.frontiers.repositories that return types with arguments of type UserModifier and TypeMethodDescriptionorg.springframework.data.domain.Page
<User> UserRepository.findAll
(org.springframework.data.domain.Pageable pageable) UserRepository.findByEmail
(String email) This method returns a User entity with a given email.UserRepository.findByGithubId
(int githubId) UserRepository.findByGithubLogin
(String githubLogin) UserRepository.findByGoogleSub
(String googleSub) Methods in edu.ucsb.cs156.frontiers.repositories with parameters of type User -
Uses of User in edu.ucsb.cs156.frontiers.services
Methods in edu.ucsb.cs156.frontiers.services that return UserModifier and TypeMethodDescriptionCurrentUserServiceImpl.getOAuth2AuthenticatedUser
(org.springframework.security.core.context.SecurityContext securityContext, org.springframework.security.core.Authentication authentication) This method obtains the current user that is logged in with OAuth2, if any.abstract User
CurrentUserService.getUser()
This method returns the current user as a User object.CurrentUserServiceImpl.getUser()
This method returns the current user as a User object.Methods in edu.ucsb.cs156.frontiers.services with parameters of type UserModifier and TypeMethodDescriptionvoid
UpdateUserService.attachCourseStaff
(User user) This method attaches the CourseStaff to the User based on their email.void
UpdateUserService.attachRosterStudents
(User user) This method attaches the RosterStudents to the User based on their email.