Uses of Record Class
edu.ucsb.cs156.dining.models.UserDTO
Packages that use UserDTO
-
Uses of UserDTO in edu.ucsb.cs156.dining.controllers
Methods in edu.ucsb.cs156.dining.controllers that return UserDTOModifier and TypeMethodDescriptionUsersController.toggleAdminStatus(long id) This method allows an admin to toggle whether a user's email appears in the admin table.UsersController.toggleModeratorStatus(long id) This method allows an admin to toggle whether a user's email appears in the moderator table. -
Uses of UserDTO in edu.ucsb.cs156.dining.models
Methods in edu.ucsb.cs156.dining.models that return UserDTOModifier and TypeMethodDescriptionCurrentUserDTO.user()Returns the value of theuserrecord component.Constructors in edu.ucsb.cs156.dining.models with parameters of type UserDTOModifierConstructorDescriptionCurrentUserDTO(UserDTO user, Collection<? extends org.springframework.security.core.GrantedAuthority> roles) Creates an instance of aCurrentUserDTOrecord class.