Class UpdateUserService

java.lang.Object
edu.ucsb.cs156.frontiers.services.UpdateUserService

@Service public class UpdateUserService extends Object
  • Constructor Details

    • UpdateUserService

      public UpdateUserService()
  • Method Details

    • attachRosterStudents

      public void attachRosterStudents(User user)
      This method attaches the RosterStudents to the User based on their email.
      Parameters:
      user - The user to whom the RosterStudents will be attached
    • attachCourseStaff

      public void attachCourseStaff(User user)
      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

      public void attachUserToRosterStudent(RosterStudent rosterStudent)
      This method attaches a SingleRoster student to the User based on their email.
    • attachUserToCourseStaff

      public void attachUserToCourseStaff(CourseStaff courseStaff)
      This method attaches a SingleRoster student to the User based on their email.