Class UpdateUserService
java.lang.Object
edu.ucsb.cs156.frontiers.services.UpdateUserService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachCourseStaff
(User user) This method attaches the CourseStaff to the User based on their email.void
attachRosterStudents
(User user) This method attaches the RosterStudents to the User based on their email.void
attach roster students for all Usersvoid
attachUserToCourseStaff
(CourseStaff courseStaff) This method attaches a SingleRoster student to the User based on their email.void
attachUserToRosterStudent
(RosterStudent rosterStudent) This method attaches a SingleRoster student to the User based on their email.
-
Constructor Details
-
UpdateUserService
public UpdateUserService()
-
-
Method Details
-
attachRosterStudents
This method attaches the RosterStudents to the User based on their email.- Parameters:
user
- The user to whom the RosterStudents will be attached
-
attachCourseStaff
This method attaches the CourseStaff to the User based on their email.- Parameters:
user
- The user to whom the RosterStudents will be attached
-
attachRosterStudentsAllUsers
public void attachRosterStudentsAllUsers()attach roster students for all Users -
attachUserToRosterStudent
This method attaches a SingleRoster student to the User based on their email. -
attachUserToCourseStaff
This method attaches a SingleRoster student to the User based on their email.
-