Class UpdateUserService
java.lang.Object
edu.ucsb.cs156.frontiers.services.UpdateUserService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachCourseStaff(User user) This method attaches the CourseStaff to the User based on their email.voidattachRosterStudents(User user) This method attaches the RosterStudents to the User based on their email.voidattach roster students for all UsersvoidattachUsersToRosterStudents(List<RosterStudent> rosterStudents) This method attaches a SingleRoster student to the User based on their email.voidattachUserToCourseStaff(CourseStaff courseStaff) This method attaches a Single Course Staff member to the User based on their email.voidattachUserToRosterStudent(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 CourseStaff 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. -
attachUsersToRosterStudents
This method attaches a SingleRoster student to the User based on their email. -
attachUserToCourseStaff
This method attaches a Single Course Staff member to the User based on their email.
-