Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(JobContext) - Method in class edu.ucsb.cs156.frontiers.jobs.CreateStudentRepositoriesJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.frontiers.jobs.MembershipAuditJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.frontiers.jobs.PushTeamsToGithubJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.frontiers.jobs.UpdateAllJob
 
accept(JobContext) - Method in class edu.ucsb.cs156.frontiers.jobs.UpdateOrgMembershipJob
 
accept(JobContext) - Method in interface edu.ucsb.cs156.frontiers.services.jobs.JobContextConsumer
 
addInstallation(Optional<String>, String, String, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
 
addInterceptors(InterceptorRegistry) - Method in class edu.ucsb.cs156.frontiers.config.WebConfig
 
addMemberToGithubTeam(String, Integer, String, Course, Integer) - Method in class edu.ucsb.cs156.frontiers.services.GithubTeamService
Adds a member to a GitHub team.
addTeamMember(Long, Long, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method adds a roster student as a team member
Admin - Class in edu.ucsb.cs156.frontiers.entities
 
Admin() - Constructor for class edu.ucsb.cs156.frontiers.entities.Admin
 
ADMIN - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
 
AdminDTO(Admin, List<String>) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
 
AdminDTO(String, boolean) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Creates an instance of a AdminDTO record class.
AdminRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
AdminsController - Class in edu.ucsb.cs156.frontiers.controllers
This is a REST controller for Admin
AdminsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.AdminsController
 
AdminsController.AdminDTO - Record Class in edu.ucsb.cs156.frontiers.controllers
 
allAdmins() - Method in class edu.ucsb.cs156.frontiers.controllers.AdminsController
List all admins
allForAdmins() - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method returns a list of courses.
allForInstructors() - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method returns a list of courses.
allInstructors() - Method in class edu.ucsb.cs156.frontiers.controllers.InstructorsController
Get a list of all instructors, available only to Admins.
allJobs() - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
allTeams(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method returns a list of all teams for a course
alwaysRunOnStartup() - Method in class edu.ucsb.cs156.frontiers.startup.FrontiersStartup
Called once at application startup time .
ApiController - Class in edu.ucsb.cs156.frontiers.controllers
This is an abstract class that provides common functionality for all API controllers.
ApiController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.ApiController
 
areEquivalentEmails(String, String) - Static method in class edu.ucsb.cs156.frontiers.utilities.CanonicalFormConverter
Check whether two emails are equivalent in their canonical form
attachCourseStaff(User) - Method in class edu.ucsb.cs156.frontiers.services.UpdateUserService
This method attaches the CourseStaff to the User based on their email.
attachRosterStudents(User) - Method in class edu.ucsb.cs156.frontiers.services.UpdateUserService
This method attaches the RosterStudents to the User based on their email.
attachRosterStudentsAllUsers() - Method in class edu.ucsb.cs156.frontiers.services.UpdateUserService
attach roster students for all Users
attachUserToCourseStaff(CourseStaff) - Method in class edu.ucsb.cs156.frontiers.services.UpdateUserService
This method attaches a SingleRoster student to the User based on their email.
attachUserToRosterStudent(RosterStudent) - Method in class edu.ucsb.cs156.frontiers.services.UpdateUserService
This method attaches a SingleRoster student to the User based on their email.
AzureProfileEnabler - Class in edu.ucsb.cs156.frontiers.startup
 
AzureProfileEnabler() - Constructor for class edu.ucsb.cs156.frontiers.startup.AzureProfileEnabler
 

B

baseHasManagePermissions(MethodSecurityExpressionOperations, Course) - Method in class edu.ucsb.cs156.frontiers.config.CourseSecurity
This is a helper method that checks if the current user has management permissions for the given course.

C

CanonicalFormConverter - Class in edu.ucsb.cs156.frontiers.utilities
 
CanonicalFormConverter() - Constructor for class edu.ucsb.cs156.frontiers.utilities.CanonicalFormConverter
 
checkRowLength(String[], int, RosterStudentsCSVController.RosterSourceType) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
CHICO_CANVAS - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
 
CHICO_CANVAS_HEADERS - Static variable in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
convertToValidEmail(String) - Static method in class edu.ucsb.cs156.frontiers.utilities.CanonicalFormConverter
Converts an email address to a valid canonical form.
Course - Class in edu.ucsb.cs156.frontiers.entities
 
Course() - Constructor for class edu.ucsb.cs156.frontiers.entities.Course
 
courseId() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the courseId record component.
courseName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the courseName record component.
courseName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the courseName record component.
courseName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the courseName record component.
CourseRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
CoursesController - Class in edu.ucsb.cs156.frontiers.controllers
 
CoursesController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.CoursesController
 
CoursesController.InstructorCourseView - Record Class in edu.ucsb.cs156.frontiers.controllers
Projection of Course entity with fields that are relevant for instructors and admins
CoursesController.RosterStudentCoursesDTO - Record Class in edu.ucsb.cs156.frontiers.controllers
 
CoursesController.StaffCoursesDTO - Record Class in edu.ucsb.cs156.frontiers.controllers
 
CourseSecurity - Class in edu.ucsb.cs156.frontiers.config
CourseSecurity provides methods to check permissions for managing courses and roster students.
CourseSecurity(CurrentUserService, RoleHierarchy, CourseRepository, RosterStudentRepository) - Constructor for class edu.ucsb.cs156.frontiers.config.CourseSecurity
 
CourseStaff - Class in edu.ucsb.cs156.frontiers.entities
 
CourseStaff() - Constructor for class edu.ucsb.cs156.frontiers.entities.CourseStaff
 
CourseStaffController - Class in edu.ucsb.cs156.frontiers.controllers
 
CourseStaffController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
 
courseStaffForCourse(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
This method returns a list of course staff for a given course.
CourseStaffRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
createContext(Job) - Method in class edu.ucsb.cs156.frontiers.services.jobs.JobContextFactory
 
created() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns the value of the created record component.
created() - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Returns the value of the created record component.
CREATED - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberStatus
 
createGitHubWebhook(String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.WebhookController
Accepts webhooks from GitHub, currently to update the membership status of a RosterStudent.
createOrGetTeamId(Team, Course) - Method in class edu.ucsb.cs156.frontiers.services.GithubTeamService
Creates a team on GitHub if it doesn't exist, or returns the existing team ID.
createRepos(Long, String, Optional<Boolean>, RepositoryPermissions) - Method in class edu.ucsb.cs156.frontiers.controllers.RepositoryController
Fires a job that creates a repo for every RosterStudent with a linked user with a GitHub account.
CreateStudentRepositoriesJob - Class in edu.ucsb.cs156.frontiers.jobs
 
CreateStudentRepositoriesJob() - Constructor for class edu.ucsb.cs156.frontiers.jobs.CreateStudentRepositoriesJob
 
createStudentRepository(Course, RosterStudent, String, Boolean, RepositoryPermissions) - Method in class edu.ucsb.cs156.frontiers.services.RepositoryService
Creates a single student repository if it doesn't already exist, and provisions access to the repository by that student
csrf() - Method in class edu.ucsb.cs156.frontiers.controllers.FrontendController
When not in development, the CSRF endpoint is not used, so return 404
csrf(CsrfToken) - Method in class edu.ucsb.cs156.frontiers.controllers.CSRFController
This method returns a CSRF token.
CSRFController - Class in edu.ucsb.cs156.frontiers.controllers
The CSRF controller is used to get a CSRF token.
CSRFController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.CSRFController
 
CSVDownloadsController - Class in edu.ucsb.cs156.frontiers.controllers
 
CSVDownloadsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.CSVDownloadsController
 
csvForQuarter(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CSVDownloadsController
 
CurrentUser - Class in edu.ucsb.cs156.frontiers.models
This is a model class that represents the current user.
CurrentUser() - Constructor for class edu.ucsb.cs156.frontiers.models.CurrentUser
 
CurrentUserService - Class in edu.ucsb.cs156.frontiers.services
This is a service that provides information about the current user.
CurrentUserService() - Constructor for class edu.ucsb.cs156.frontiers.services.CurrentUserService
 
CurrentUserServiceImpl - Class in edu.ucsb.cs156.frontiers.services
This is a service that provides information about the current user.
CurrentUserServiceImpl() - Constructor for class edu.ucsb.cs156.frontiers.services.CurrentUserServiceImpl
 
CustomErrorController - Class in edu.ucsb.cs156.frontiers.controllers
Custom error controller that replaces the default white label error page with a more user-friendly error page.
CustomErrorController(ErrorAttributes, ServerProperties) - Constructor for class edu.ucsb.cs156.frontiers.controllers.CustomErrorController
 

D

deleteAdmin(String) - Method in class edu.ucsb.cs156.frontiers.controllers.AdminsController
Delete an Admin
deleteAllJobs() - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
deleteAllJobs(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
deleteCourse(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
 
deleteInstructor(String) - Method in class edu.ucsb.cs156.frontiers.controllers.InstructorsController
Delete an instructor by email, available only to Admins.
deleteRosterStudent(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
deleteStaffMember(Long, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
 
deleteTeam(Long, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method deletes a team by its id
developmentApplicationRunner() - Method in class edu.ucsb.cs156.frontiers.FrontiersMain
Hook that can be used to set up any services needed for development
disconnect(SecurityContext) - Method in class edu.ucsb.cs156.frontiers.controllers.GithubController
 
doesCurrentUserHaveRole(String) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method checks if the current user has the given role
DROPPED - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RosterStatus
 

E

edu.ucsb.cs156.frontiers - package edu.ucsb.cs156.frontiers
 
edu.ucsb.cs156.frontiers.aop - package edu.ucsb.cs156.frontiers.aop
 
edu.ucsb.cs156.frontiers.config - package edu.ucsb.cs156.frontiers.config
 
edu.ucsb.cs156.frontiers.controllers - package edu.ucsb.cs156.frontiers.controllers
 
edu.ucsb.cs156.frontiers.entities - package edu.ucsb.cs156.frontiers.entities
 
edu.ucsb.cs156.frontiers.enums - package edu.ucsb.cs156.frontiers.enums
 
edu.ucsb.cs156.frontiers.errors - package edu.ucsb.cs156.frontiers.errors
 
edu.ucsb.cs156.frontiers.interceptors - package edu.ucsb.cs156.frontiers.interceptors
 
edu.ucsb.cs156.frontiers.jobs - package edu.ucsb.cs156.frontiers.jobs
 
edu.ucsb.cs156.frontiers.models - package edu.ucsb.cs156.frontiers.models
 
edu.ucsb.cs156.frontiers.repositories - package edu.ucsb.cs156.frontiers.repositories
 
edu.ucsb.cs156.frontiers.services - package edu.ucsb.cs156.frontiers.services
 
edu.ucsb.cs156.frontiers.services.jobs - package edu.ucsb.cs156.frontiers.services.jobs
 
edu.ucsb.cs156.frontiers.services.wiremock - package edu.ucsb.cs156.frontiers.services.wiremock
 
edu.ucsb.cs156.frontiers.startup - package edu.ucsb.cs156.frontiers.startup
 
edu.ucsb.cs156.frontiers.utilities - package edu.ucsb.cs156.frontiers.utilities
 
email() - Method in record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Returns the value of the email record component.
email() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the email record component.
email() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the email record component.
EntityNotFoundException - Exception Class in edu.ucsb.cs156.frontiers.errors
This is an error class for a custom RuntimeException in Java that is used to indicate when an entity of a specific type with a given ID is not found.
EntityNotFoundException(Class<?>, Object) - Constructor for exception class edu.ucsb.cs156.frontiers.errors.EntityNotFoundException
Constructor for the exception
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Indicates whether some other object is "equal to" this one.
errorHtml(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.cs156.frontiers.controllers.CustomErrorController
Handles error requests and returns a custom error page.
existing() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns the value of the existing record component.
EXISTS - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberStatus
 
existsByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.AdminRepository
 
existsByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.InstructorRepository
 

F

filterChain(HttpSecurity) - Method in class edu.ucsb.cs156.frontiers.config.SecurityConfig
The `filterChain` method in this Java code configures various security settings for an HTTP request, including authorization, exception handling, OAuth2 login, CSRF protection, and logout behavior.
findAll(Pageable) - Method in interface edu.ucsb.cs156.frontiers.repositories.UserRepository
 
findAllByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseStaffRepository
This method returns a CourseStaff entity with a given email.
findAllByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findAllByUser(User) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByCourseAndGithubId(Course, int) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByCourseAndGithubLogin(Course, String) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseStaffRepository
 
findByCourseAndGithubLogin(Course, String) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByCourseId(Long) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseStaffRepository
This method returns a list of CourseStaff entities associated with a given course ID.
findByCourseId(Long) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByCourseId(Long) - Method in interface edu.ucsb.cs156.frontiers.repositories.TeamRepository
 
findByCourseIdAndEmail(Long, String) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByCourseIdAndName(Long, String) - Method in interface edu.ucsb.cs156.frontiers.repositories.TeamRepository
 
findByCourseIdAndStudentId(Long, String) - Method in interface edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository
 
findByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.AdminRepository
This method returns an Admin entity with a given email.
findByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.InstructorRepository
This method returns an Instructor entity with a given email.
findByEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.UserRepository
This method returns a User entity with a given email.
findByEmailAndCourse(String, Course) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseStaffRepository
This method returns a CourseStaff entity with a given email and course.
findByGithubId(int) - Method in interface edu.ucsb.cs156.frontiers.repositories.UserRepository
 
findByGithubLogin(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.UserRepository
 
findByGoogleSub(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.UserRepository
 
findByInstallationId(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseRepository
 
findByInstructorEmail(String) - Method in interface edu.ucsb.cs156.frontiers.repositories.CourseRepository
 
findByTeamAndRosterStudent(Team, RosterStudent) - Method in interface edu.ucsb.cs156.frontiers.repositories.TeamMemberRepository
 
firstName() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the firstName record component.
firstName() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the firstName record component.
from(TeamMember) - Static method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
 
from(User, boolean, boolean) - Static method in class edu.ucsb.cs156.frontiers.models.UserDataDTO
 
fromChicoCanvasCSVRow(String[]) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
fromCSVRow(String[], RosterStudentsCSVController.RosterSourceType) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
fromCSVRow(String[], TeamsController.TeamSourceType, Course) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
 
fromOregonStateCSVRow(String[]) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
fromUCSBEgradesCSVRow(String[]) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
FrontendController - Class in edu.ucsb.cs156.frontiers.controllers
The FrontendController is used to serve the frontend of the application.
FrontendController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.FrontendController
 
FrontendProxyController - Class in edu.ucsb.cs156.frontiers.controllers
The FrontendProxyController is used to proxy requests to the frontend of the application.
FrontendProxyController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.FrontendProxyController
 
FrontiersApplicationRunner - Class in edu.ucsb.cs156.frontiers.startup
This class contains a `run` method that is called once at application startup time.
FrontiersApplicationRunner() - Constructor for class edu.ucsb.cs156.frontiers.startup.FrontiersApplicationRunner
 
FrontiersMain - Class in edu.ucsb.cs156.frontiers
The FrontiersMain class is the main entry point for the application.
FrontiersMain() - Constructor for class edu.ucsb.cs156.frontiers.FrontiersMain
 
FrontiersStartup - Class in edu.ucsb.cs156.frontiers.startup
This class contains a `run` method that is called once at application startup time.
FrontiersStartup() - Constructor for class edu.ucsb.cs156.frontiers.startup.FrontiersStartup
 

G

genericMessage(String) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method returns a generic message.
getAssociatedRosterStudents() - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
getCommits(Course, String, String, String, int, String) - Method in class edu.ucsb.cs156.frontiers.services.GithubGraphQLService
 
getCommits(Long, String, String, String, Integer, String) - Method in class edu.ucsb.cs156.frontiers.controllers.GithubGraphQLController
Return default branch name for a given repository.
getCourseById(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method returns single course by its id
getCurrentUser() - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method returns the current user.
getCurrentUser() - Method in class edu.ucsb.cs156.frontiers.controllers.UserInfoController
This method returns the current user.
getCurrentUser() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserService
This method returns the current user as a CurrentUser object
getCurrentUser() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserServiceImpl
This method returns the current user as a User object.
getDefaultBranchName(Course, String, String) - Method in class edu.ucsb.cs156.frontiers.services.GithubGraphQLService
Retrieves the name of the default branch for a given GitHub repository.
getDefaultBranchName(Long, String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.GithubGraphQLController
Return default branch name for a given repository.
getFirstName(String) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
Get everything except up to and not including the last space in the full name.
getGrantedAuthorities() - Method in class edu.ucsb.cs156.frontiers.services.GrantedAuthoritiesService
The function retrieves and logs the granted authorities from the current security context in a Java application.
getInsertStatus() - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
 
getInstallationToken(Course) - Method in class edu.ucsb.cs156.frontiers.services.JwtService
Method to retrieve a token to act as a particular app installation in a particular organization
getJobLogById(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
getJobLogs(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
getJobLogs(Long) - Method in class edu.ucsb.cs156.frontiers.services.jobs.JobService
 
getJwt() - Method in class edu.ucsb.cs156.frontiers.services.JwtService
Method to retrieve a signed JWT that a service can use to authenticate with GitHub as an app installation without permissions to a specific organization.
getLastName(String) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
Get everything after the last space in the full name.
getOAuth2AuthenticatedUser(SecurityContext, Authentication) - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserServiceImpl
This method obtains the current user that is logged in with OAuth2, if any.
getOrganizationAdmins(Course) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
This endpoint returns the list of **admins** for the organization.
getOrganizationInvitees(Course) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
This endpoint returns the list of users who have been **invited** to the organization but have not yet accepted.
getOrganizationMembers(Course) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
This endpoint returns the list of **members**, not admins for the organization.
getOrgId(String, Course) - Method in class edu.ucsb.cs156.frontiers.services.GithubTeamService
Get the org id, given the org name.
getOrgName(String) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationLinkerService
Provides the name of the organization attached to a particular installation ID
getRedirectUrl() - Method in class edu.ucsb.cs156.frontiers.services.OrganizationLinkerService
Returns the URL for a redirect to install Frontiers
getRoles() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserService
This method returns the roles of the current user.
getRoles() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserServiceImpl
This method returns the roles of the current user.
getRosterSourceType(String[]) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
getRosterSourceType(String[]) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
 
getRosterStudentDTOs(Long) - Method in class edu.ucsb.cs156.frontiers.services.RosterStudentDTOService
This method gets a list of RosterStudentDTOs based on the courseId
getStatefulBeanToCSV(Writer) - Method in class edu.ucsb.cs156.frontiers.services.RosterStudentDTOService
 
getSystemInfo() - Method in class edu.ucsb.cs156.frontiers.controllers.SystemInfoController
This method returns the system information.
getSystemInfo() - Method in class edu.ucsb.cs156.frontiers.services.SystemInfoService
This method returns the system information.
getSystemInfo() - Method in class edu.ucsb.cs156.frontiers.services.SystemInfoServiceImpl
This method returns the system information.
getTeamById(Long, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method returns a single team by its id
getTeamId(String, Course) - Method in class edu.ucsb.cs156.frontiers.services.GithubTeamService
Gets the team ID for a team name, returns null if team doesn't exist.
getTeamMembershipStatus(String, Integer, Course) - Method in class edu.ucsb.cs156.frontiers.services.GithubTeamService
Gets the current team membership status for a user.
getTeams() - Method in class edu.ucsb.cs156.frontiers.entities.RosterStudent
 
getUser() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserService
This method returns the current user as a User object.
getUser() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserServiceImpl
This method returns the current user as a User object.
getUserDataDTOs(Pageable) - Method in class edu.ucsb.cs156.frontiers.services.UserDataDTOService
 
getWiremockServer() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockService
This method returns the wiremockServer
getWiremockServer() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceDummy
Dummy call for getWiremockServer()
getWiremockServer() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceImpl
This method returns the wiremockServer
GithubController - Class in edu.ucsb.cs156.frontiers.controllers
 
GithubController(UserRepository) - Constructor for class edu.ucsb.cs156.frontiers.controllers.GithubController
 
GithubGraphQLClientConfig - Class in edu.ucsb.cs156.frontiers.config
 
GithubGraphQLClientConfig() - Constructor for class edu.ucsb.cs156.frontiers.config.GithubGraphQLClientConfig
 
GithubGraphQLController - Class in edu.ucsb.cs156.frontiers.controllers
 
GithubGraphQLController(GithubGraphQLService, CourseRepository) - Constructor for class edu.ucsb.cs156.frontiers.controllers.GithubGraphQLController
 
GithubGraphQLService - Class in edu.ucsb.cs156.frontiers.services
 
GithubGraphQLService(HttpSyncGraphQlClient, JwtService) - Constructor for class edu.ucsb.cs156.frontiers.services.GithubGraphQLService
 
githubId() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the githubId record component.
githubLogin() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the githubLogin record component.
githubLogin() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the githubLogin record component.
GithubSignInService - Interface in edu.ucsb.cs156.frontiers.services
 
GithubSignInServiceImpl - Class in edu.ucsb.cs156.frontiers.services
 
GithubSignInServiceImpl(UserRepository, CurrentUserService, RosterStudentRepository, UpdateUserService) - Constructor for class edu.ucsb.cs156.frontiers.services.GithubSignInServiceImpl
 
GithubTeamService - Class in edu.ucsb.cs156.frontiers.services
 
GithubTeamService(JwtService, ObjectMapper, RestTemplateBuilder) - Constructor for class edu.ucsb.cs156.frontiers.services.GithubTeamService
 
githubUrl(String, String) - Static method in class edu.ucsb.cs156.frontiers.services.SystemInfoServiceImpl
 
GoogleSignInService - Interface in edu.ucsb.cs156.frontiers.services
 
GoogleSignInServiceImpl - Class in edu.ucsb.cs156.frontiers.services
 
GoogleSignInServiceImpl(UserRepository, AdminRepository, InstructorRepository) - Constructor for class edu.ucsb.cs156.frontiers.services.GoogleSignInServiceImpl
 
GrantedAuthoritiesService - Class in edu.ucsb.cs156.frontiers.services
The is a service that retrieves and logs the granted authorities for the current user's authentication.
GrantedAuthoritiesService() - Constructor for class edu.ucsb.cs156.frontiers.services.GrantedAuthoritiesService
 
graphQlClient() - Method in class edu.ucsb.cs156.frontiers.config.GithubGraphQLClientConfig
 

H

handleEntityNotFoundException(Throwable) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method handles the EntityNotFoundException.
handleIllegalArgument(Throwable) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method handles the IllegalArgumentException.
handleInvalidInstallationType(Throwable) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method handles the InvalidInstallationTypeException.
handleNoLinkedOrgException(Throwable) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method handles the NoLinkedOrganizationException.
handleUnsupportedOperation(UnsupportedOperationException) - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method handles the UnsupportedOperationException.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns a hash code value for this object.
hashCode() - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Returns a hash code value for this object.
hasInstructorPermissions(MethodSecurityExpressionOperations, Long) - Method in class edu.ucsb.cs156.frontiers.config.CourseSecurity
Use this for operations that only an instructor can do, but not a staff member, such as adding or deleting a course staff member.
hasManagePermissions(MethodSecurityExpressionOperations, Long) - Method in class edu.ucsb.cs156.frontiers.config.CourseSecurity
Use this when you want to check whether the user is either a staff member, instructor or admin for the course.
hasRosterStudentManagementPermissions(MethodSecurityExpressionOperations, Long) - Method in class edu.ucsb.cs156.frontiers.config.CourseSecurity
This method checks if the current user has management permissions for the course associated with the given rosterStudent.

I

id() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the id record component.
id() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the id record component.
id() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the id record component.
id() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the id record component.
idTokenDecoderFactory() - Method in class edu.ucsb.cs156.frontiers.config.SecurityConfig
 
index() - Method in class edu.ucsb.cs156.frontiers.controllers.FrontendController
Serve home page of application
init() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockService
This method initializes the WireMockServer
init() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceDummy
Dummy call to init
init() - Method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceImpl
This method initializes the WireMockServer
INSERTED - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.InsertStatus
 
insertStatus() - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Returns the value of the insertStatus record component.
InsertStatus - Enum Class in edu.ucsb.cs156.frontiers.enums
 
installationId() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the installationId record component.
installationId() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the installationId record component.
installationId() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the installationId record component.
Instructor - Class in edu.ucsb.cs156.frontiers.entities
This is a JPA entity that represents an Instructor.
Instructor() - Constructor for class edu.ucsb.cs156.frontiers.entities.Instructor
 
InstructorCourseView(Course) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
 
InstructorCourseView(Long, String, String, String, String, String, String, int, int) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Creates an instance of a InstructorCourseView record class.
instructorEmail() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the instructorEmail record component.
InstructorRepository - Interface in edu.ucsb.cs156.frontiers.repositories
The InstructorRepository is a repository for Instructor entities.
InstructorsController - Class in edu.ucsb.cs156.frontiers.controllers
This is a REST controller for getting information about the instructors.
InstructorsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.InstructorsController
 
InvalidInstallationTypeException - Exception Class in edu.ucsb.cs156.frontiers.errors
 
InvalidInstallationTypeException(String) - Constructor for exception class edu.ucsb.cs156.frontiers.errors.InvalidInstallationTypeException
Constructor for the exception
INVITED - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
 
inviteOrganizationMember(RosterStudent) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
 
inviteOrganizationOwner(CourseStaff) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
 
isCurrentUserAdmin() - Method in class edu.ucsb.cs156.frontiers.controllers.ApiController
This method checks if the current user is an admin.
isInAdminEmails() - Method in record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Returns the value of the isInAdminEmails record component.
isLoggedIn() - Method in class edu.ucsb.cs156.frontiers.services.CurrentUserService
This method returns whether the current user is logged in.

J

Job - Class in edu.ucsb.cs156.frontiers.entities
 
Job() - Constructor for class edu.ucsb.cs156.frontiers.entities.Job
 
JobContext - Class in edu.ucsb.cs156.frontiers.services.jobs
 
JobContext() - Constructor for class edu.ucsb.cs156.frontiers.services.jobs.JobContext
 
JobContextConsumer - Interface in edu.ucsb.cs156.frontiers.services.jobs
 
JobContextFactory - Class in edu.ucsb.cs156.frontiers.services.jobs
 
JobContextFactory(JobsRepository) - Constructor for class edu.ucsb.cs156.frontiers.services.jobs.JobContextFactory
 
JobsController - Class in edu.ucsb.cs156.frontiers.controllers
 
JobsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.JobsController
 
JobService - Class in edu.ucsb.cs156.frontiers.services.jobs
 
JobService() - Constructor for class edu.ucsb.cs156.frontiers.services.jobs.JobService
 
JobsRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
JOINCOURSE - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
 
joinCourseOnGitHub(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
 
joinCourseOnGitHub(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
JpaAuditingConfig - Class in edu.ucsb.cs156.frontiers.config
 
JpaAuditingConfig() - Constructor for class edu.ucsb.cs156.frontiers.config.JpaAuditingConfig
 
JwtService - Class in edu.ucsb.cs156.frontiers.services
 
JwtService(RestTemplateBuilder, ObjectMapper, DateTimeProvider) - Constructor for class edu.ucsb.cs156.frontiers.services.JwtService
 

L

lastName() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the lastName record component.
lastName() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the lastName record component.
launchAuditAllCoursesJob() - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
launchPushTeamsToGithubJob(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
launchUpdateAllJob() - Method in class edu.ucsb.cs156.frontiers.controllers.JobsController
 
linkCourse(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This is the outgoing method, redirecting from Frontiers to GitHub to allow a Course to be linked to a GitHub Organization.
listCoursesForCurrentUser() - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method returns a list of courses that the current user is enrolled.
LoadResult - Record Class in edu.ucsb.cs156.frontiers.models
 
LoadResult(Integer, Integer, List<RosterStudent>) - Constructor for record class edu.ucsb.cs156.frontiers.models.LoadResult
Creates an instance of a LoadResult record class.
loadUser(OidcUserRequest) - Method in interface edu.ucsb.cs156.frontiers.services.GoogleSignInService
 
loadUser(OidcUserRequest) - Method in class edu.ucsb.cs156.frontiers.services.GoogleSignInServiceImpl
 
loadUser(OAuth2UserRequest) - Method in interface edu.ucsb.cs156.frontiers.services.GithubSignInService
 
loadUser(OAuth2UserRequest) - Method in class edu.ucsb.cs156.frontiers.services.GithubSignInServiceImpl
 
log(String) - Method in class edu.ucsb.cs156.frontiers.services.jobs.JobContext
 
logControllers(JoinPoint) - Method in class edu.ucsb.cs156.frontiers.aop.LoggingAspect
This method is called before any controller method that is annotated with @RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, or @PatchMapping.
LoggingAspect - Class in edu.ucsb.cs156.frontiers.aop
This class is an Aspect that logs all invocations of controller methods that are annotated with @RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, or @PatchMapping.
LoggingAspect() - Constructor for class edu.ucsb.cs156.frontiers.aop.LoggingAspect
 

M

main(String[]) - Static method in class edu.ucsb.cs156.frontiers.FrontiersMain
The main method is the entry point for the application.
MAINTAIN - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
 
MANUAL - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RosterStatus
 
MEMBER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
 
MembershipAuditJob - Class in edu.ucsb.cs156.frontiers.jobs
 
MembershipAuditJob() - Constructor for class edu.ucsb.cs156.frontiers.jobs.MembershipAuditJob
 
MISSING - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberStatus
 

N

NO_GITHUB_ID - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
 
NoLinkedOrganizationException - Exception Class in edu.ucsb.cs156.frontiers.errors
 
NoLinkedOrganizationException(String) - Constructor for exception class edu.ucsb.cs156.frontiers.errors.NoLinkedOrganizationException
Constructor for the exception
NOT_ORG_MEMBER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
 
NotAuthenticatedWithGoogleException - Exception Class in edu.ucsb.cs156.frontiers.errors
 
NotAuthenticatedWithGoogleException(String) - Constructor for exception class edu.ucsb.cs156.frontiers.errors.NotAuthenticatedWithGoogleException
Constructor for the exception
numStaff() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the numStaff record component.
numStudents() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the numStudents record component.

O

OREGON_STATE - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
 
OREGON_STATE_HEADERS - Static variable in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
OrganizationLinkerService - Class in edu.ucsb.cs156.frontiers.services
 
OrganizationLinkerService(RestTemplateBuilder) - Constructor for class edu.ucsb.cs156.frontiers.services.OrganizationLinkerService
 
OrganizationMemberService - Class in edu.ucsb.cs156.frontiers.services
 
OrganizationMemberService(JwtService, ObjectMapper, RestTemplateBuilder, RosterStudentRepository) - Constructor for class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
 
OrgMember - Class in edu.ucsb.cs156.frontiers.models
 
OrgMember() - Constructor for class edu.ucsb.cs156.frontiers.models.OrgMember
 
orgName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the orgName record component.
orgName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the orgName record component.
orgName() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the orgName record component.
orgStatus() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the orgStatus record component.
OrgStatus - Enum Class in edu.ucsb.cs156.frontiers.enums
 
OWNER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
 

P

PENDING - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
 
placeholderConfigurer() - Static method in class edu.ucsb.cs156.frontiers.FrontiersMain
See: https://www.baeldung.com/spring-git-information
postAdmin(String) - Method in class edu.ucsb.cs156.frontiers.controllers.AdminsController
Create a new admin
postCourse(String, String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method creates a new Course.
postCourseStaff(String, String, String, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
This method creates a new CourseStaff.
postInstructor(String) - Method in class edu.ucsb.cs156.frontiers.controllers.InstructorsController
Create a new Instructor, available only to Admins.
postProcessEnvironment(ConfigurableEnvironment, SpringApplication) - Method in class edu.ucsb.cs156.frontiers.startup.AzureProfileEnabler
 
postRosterStudent(String, String, String, String, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
This method creates a new RosterStudent.
postTeam(String, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method creates a new Team.
preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class edu.ucsb.cs156.frontiers.interceptors.RoleUpdateInterceptor
 
proxy(ProxyExchange<byte[]>) - Method in class edu.ucsb.cs156.frontiers.controllers.FrontendProxyController
This method proxies requests to the frontend server.
PushTeamsToGithubJob - Class in edu.ucsb.cs156.frontiers.jobs
 
PushTeamsToGithubJob() - Constructor for class edu.ucsb.cs156.frontiers.jobs.PushTeamsToGithubJob
 

R

READ - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
 
rejected() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns the value of the rejected record component.
rejected() - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Returns the value of the rejected record component.
REJECTED - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.InsertStatus
 
rejectedEmail() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Returns the value of the rejectedEmail record component.
removeOrganizationMember(CourseStaff) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
Removes a member from an organization.
removeOrganizationMember(RosterStudent) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
Removes a member from an organization.
removeOrganizationMember(String, String, String) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationMemberService
Remove member from organization
removeTeamMember(Long, Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
This method removes a team member
RepositoryController - Class in edu.ucsb.cs156.frontiers.controllers
 
RepositoryController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.RepositoryController
 
RepositoryPermissions - Enum Class in edu.ucsb.cs156.frontiers.enums
 
RepositoryService - Class in edu.ucsb.cs156.frontiers.services
 
RepositoryService(JwtService, RestTemplateBuilder, ObjectMapper) - Constructor for class edu.ucsb.cs156.frontiers.services.RepositoryService
 
roleHierarchy() - Static method in class edu.ucsb.cs156.frontiers.config.SecurityConfig
 
RoleUpdateInterceptor - Class in edu.ucsb.cs156.frontiers.interceptors
RoleUpdateInterceptor reloads a user's security context on each request to the backend.
RoleUpdateInterceptor(AdminRepository, InstructorRepository) - Constructor for class edu.ucsb.cs156.frontiers.interceptors.RoleUpdateInterceptor
 
ROSTER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RosterStatus
 
rosterStatus() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the rosterStatus record component.
RosterStatus - Enum Class in edu.ucsb.cs156.frontiers.enums
 
rosterStudent() - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Returns the value of the rosterStudent record component.
RosterStudent - Class in edu.ucsb.cs156.frontiers.entities
 
RosterStudent() - Constructor for class edu.ucsb.cs156.frontiers.entities.RosterStudent
 
RosterStudentCoursesDTO(Long, String, String, String, String, String, OrgStatus, Long) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Creates an instance of a RosterStudentCoursesDTO record class.
RosterStudentDTO - Record Class in edu.ucsb.cs156.frontiers.models
This is a DTO class that represents a student in the roster.
RosterStudentDTO(RosterStudent) - Constructor for record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
 
RosterStudentDTO(Long, Long, String, String, String, String, String, long, Integer, String, RosterStatus, OrgStatus, List<String>) - Constructor for record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Creates an instance of a RosterStudentDTO record class.
RosterStudentDTOService - Class in edu.ucsb.cs156.frontiers.services
 
RosterStudentDTOService() - Constructor for class edu.ucsb.cs156.frontiers.services.RosterStudentDTOService
 
rosterStudentForCourse(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
This method returns a list of roster students for a given course.
rosterStudentId() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the rosterStudentId record component.
rosterStudentId() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the rosterStudentId record component.
RosterStudentRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
RosterStudentsController - Class in edu.ucsb.cs156.frontiers.controllers
 
RosterStudentsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
RosterStudentsCSVController - Class in edu.ucsb.cs156.frontiers.controllers
 
RosterStudentsCSVController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
RosterStudentsCSVController.RosterSourceType - Enum Class in edu.ucsb.cs156.frontiers.controllers
 
run(ApplicationArguments) - Method in class edu.ucsb.cs156.frontiers.startup.FrontiersApplicationRunner
Called once at application startup time
run(ApplicationArguments) - Method in class edu.ucsb.cs156.frontiers.startup.WiremockApplicationRunner
When using the wiremock profile, this method will call the code needed to set up the wiremock services
runAsJob(JobContextConsumer) - Method in class edu.ucsb.cs156.frontiers.services.jobs.JobService
 
runJobAsync(Job, JobContextConsumer) - Method in class edu.ucsb.cs156.frontiers.services.jobs.JobService
 
runMembershipAuditJobBasedOnCron() - Method in class edu.ucsb.cs156.frontiers.jobs.ScheduledJobs
 

S

ScheduledJobs - Class in edu.ucsb.cs156.frontiers.jobs
This class contains methods that are scheduled to run at certain times to launch particular jobs.
ScheduledJobs() - Constructor for class edu.ucsb.cs156.frontiers.jobs.ScheduledJobs
 
school() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the school record component.
school() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the school record component.
school() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the school record component.
section() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the section record component.
SecurityConfig - Class in edu.ucsb.cs156.frontiers.config
The `SecurityConfig` class in Java configures web security with OAuth2 login, CSRF protection, and role-based authorization based on user email addresses.
SecurityConfig() - Constructor for class edu.ucsb.cs156.frontiers.config.SecurityConfig
 
setupOauthMocks(Stubbing, boolean) - Static method in class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceImpl
This method sets up the necessary mocks for authentication
SIMPLE - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamSourceType
 
SIMPLE_HEADERS - Static variable in class edu.ucsb.cs156.frontiers.controllers.TeamsController
 
staffCourses() - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
student see what courses they appear as staff in
StaffCoursesDTO(Long, String, String, String, String, String, OrgStatus, Long) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Creates an instance of a StaffCoursesDTO record class.
staffId() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the staffId record component.
status() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Returns the value of the status record component.
studentId() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the studentId record component.
studentStatus() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the studentStatus record component.
studentStatus() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the studentStatus record component.
SystemInfo - Class in edu.ucsb.cs156.frontiers.models
This is a model class that represents system information.
SystemInfo() - Constructor for class edu.ucsb.cs156.frontiers.models.SystemInfo
 
SystemInfoController - Class in edu.ucsb.cs156.frontiers.controllers
This is a REST controller for getting information about the system.
SystemInfoController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.SystemInfoController
 
SystemInfoService - Class in edu.ucsb.cs156.frontiers.services
The SystemInfoService is a service that provides global information about the system and makes it available to the frontend.
SystemInfoService() - Constructor for class edu.ucsb.cs156.frontiers.services.SystemInfoService
 
SystemInfoServiceImpl - Class in edu.ucsb.cs156.frontiers.services
This is a service for getting information about the system.
SystemInfoServiceImpl() - Constructor for class edu.ucsb.cs156.frontiers.services.SystemInfoServiceImpl
 

T

Team - Class in edu.ucsb.cs156.frontiers.entities
 
Team() - Constructor for class edu.ucsb.cs156.frontiers.entities.Team
 
TEAM_MAINTAINER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
 
TEAM_MEMBER - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
 
TeamCreationResponse(TeamsController.TeamSourceType, Integer, Integer, List<String>) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Creates an instance of a TeamCreationResponse record class.
teamId() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the teamId record component.
teamMember() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Returns the value of the teamMember record component.
TeamMember - Class in edu.ucsb.cs156.frontiers.entities
 
TeamMember() - Constructor for class edu.ucsb.cs156.frontiers.entities.TeamMember
 
teamMemberFromSimpleCsv(String[], Course) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
 
teamMemberMapping(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
Retrieves a list of mappings between roster students and teams for a given course.
TeamMemberMapping(Long, String, Long, String, String, String, String) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Creates an instance of a TeamMemberMapping record class.
TeamMemberRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
TeamMemberResult(TeamMember, TeamsController.TeamMemberStatus) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
 
TeamMemberResult(TeamMember, TeamsController.TeamMemberStatus, String) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Creates an instance of a TeamMemberResult record class.
TeamMemberResult(String) - Constructor for record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
 
teamName() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns the value of the teamName record component.
TeamRepository - Interface in edu.ucsb.cs156.frontiers.repositories
 
teams() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the teams record component.
TeamsController - Class in edu.ucsb.cs156.frontiers.controllers
 
TeamsController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.TeamsController
 
TeamsController.TeamCreationResponse - Record Class in edu.ucsb.cs156.frontiers.controllers
 
TeamsController.TeamMemberMapping - Record Class in edu.ucsb.cs156.frontiers.controllers
 
TeamsController.TeamMemberResult - Record Class in edu.ucsb.cs156.frontiers.controllers
 
TeamsController.TeamMemberStatus - Enum Class in edu.ucsb.cs156.frontiers.controllers
 
TeamsController.TeamSourceType - Enum Class in edu.ucsb.cs156.frontiers.controllers
 
TeamStatus - Enum Class in edu.ucsb.cs156.frontiers.enums
 
term() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns the value of the term record component.
term() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns the value of the term record component.
term() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns the value of the term record component.
testError() - Method in class edu.ucsb.cs156.frontiers.controllers.TestErrorController
Endpoint that intentionally throws a RuntimeException to test the custom error page.
TestErrorController - Class in edu.ucsb.cs156.frontiers.controllers
Controller for testing the custom error page.
TestErrorController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.TestErrorController
 
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.AdminsController.AdminDTO
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.InstructorCourseView
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.RosterStudentCoursesDTO
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.CoursesController.StaffCoursesDTO
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberMapping
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberResult
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns a string representation of this record class.
toString() - Method in record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Returns a string representation of this record class.
typeMatched() - Method in record class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamCreationResponse
Returns the value of the typeMatched record component.

U

UCSB_EGRADES - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
 
UCSB_EGRADES_HEADERS - Static variable in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
 
unenrollOrganization(Course) - Method in class edu.ucsb.cs156.frontiers.services.OrganizationLinkerService
Removes the Frontiers installation from the linked GitHub org
UNKNOWN - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
 
UNKNOWN - Enum constant in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamSourceType
 
UpdateAllJob - Class in edu.ucsb.cs156.frontiers.jobs
 
UpdateAllJob() - Constructor for class edu.ucsb.cs156.frontiers.jobs.UpdateAllJob
 
updateCourse(Long, String, String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
This method updates an existing course.
updateCourseMembership(Long) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
updated() - Method in record class edu.ucsb.cs156.frontiers.models.LoadResult
Returns the value of the updated record component.
UPDATED - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.InsertStatus
 
updateInstructorEmail(Long, String) - Method in class edu.ucsb.cs156.frontiers.controllers.CoursesController
 
UpdateOrgMembershipJob - Class in edu.ucsb.cs156.frontiers.jobs
 
UpdateOrgMembershipJob() - Constructor for class edu.ucsb.cs156.frontiers.jobs.UpdateOrgMembershipJob
 
updateRosterStudent(Long, String, String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
updateStaffMember(Long, Long, String, String) - Method in class edu.ucsb.cs156.frontiers.controllers.CourseStaffController
 
UpdateUserService - Class in edu.ucsb.cs156.frontiers.services
 
UpdateUserService() - Constructor for class edu.ucsb.cs156.frontiers.services.UpdateUserService
 
uploadRosterStudentsCSV(Long, MultipartFile) - Method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController
Upload Roster students for Course in any supported format.
uploadTeamsCsv(Long, MultipartFile) - Method in class edu.ucsb.cs156.frontiers.controllers.TeamsController
Upload teams in CSV format (team, email) It is important to keep the code in this method consistent with the code for adding a single roster student
UpsertResponse - Record Class in edu.ucsb.cs156.frontiers.models
 
UpsertResponse(InsertStatus, RosterStudent) - Constructor for record class edu.ucsb.cs156.frontiers.models.UpsertResponse
Creates an instance of a UpsertResponse record class.
upsertStudent(RosterStudentRepository, UpdateUserService, RosterStudent, Course, RosterStatus) - Static method in class edu.ucsb.cs156.frontiers.controllers.RosterStudentsController
 
User - Class in edu.ucsb.cs156.frontiers.entities
This is a JPA entity that represents a user.
User() - Constructor for class edu.ucsb.cs156.frontiers.entities.User
 
UserDataDTO - Class in edu.ucsb.cs156.frontiers.models
 
UserDataDTO() - Constructor for class edu.ucsb.cs156.frontiers.models.UserDataDTO
 
UserDataDTOService - Class in edu.ucsb.cs156.frontiers.services
 
UserDataDTOService(UserRepository, AdminRepository, InstructorRepository) - Constructor for class edu.ucsb.cs156.frontiers.services.UserDataDTOService
 
userId() - Method in record class edu.ucsb.cs156.frontiers.models.RosterStudentDTO
Returns the value of the userId record component.
UserInfoController - Class in edu.ucsb.cs156.frontiers.controllers
This is a REST controller for getting information about the current user.
UserInfoController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.UserInfoController
 
UserRepository - Interface in edu.ucsb.cs156.frontiers.repositories
The UserRepository is a repository for User entities.
users(Pageable) - Method in class edu.ucsb.cs156.frontiers.controllers.UsersController
This method returns a list of all users.
UsersController - Class in edu.ucsb.cs156.frontiers.controllers
This is a REST controller for getting information about the users.
UsersController() - Constructor for class edu.ucsb.cs156.frontiers.controllers.UsersController
 
utcDateTimeProvider() - Method in class edu.ucsb.cs156.frontiers.config.JpaAuditingConfig
This method provides a DateTimeProvider that always returns the current UTC time.

V

validateGitHubSignature(String, String, String) - Static method in class edu.ucsb.cs156.frontiers.utilities.WebhookSecurityUtils
Validates GitHub webhook signature using HMAC-SHA256
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamSourceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.enums.InsertStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.enums.RosterStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
Returns the enum constant of this class with the specified name.
values() - Static method in enum class edu.ucsb.cs156.frontiers.controllers.RosterStudentsCSVController.RosterSourceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamMemberStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.controllers.TeamsController.TeamSourceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.enums.InsertStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.enums.OrgStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.enums.RosterStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class edu.ucsb.cs156.frontiers.enums.TeamStatus
Returns an array containing the constants of this enum class, in the order they are declared.

W

WebConfig - Class in edu.ucsb.cs156.frontiers.config
 
WebConfig() - Constructor for class edu.ucsb.cs156.frontiers.config.WebConfig
 
WebhookController - Class in edu.ucsb.cs156.frontiers.controllers
 
WebhookController(CourseRepository, RosterStudentRepository, CourseStaffRepository) - Constructor for class edu.ucsb.cs156.frontiers.controllers.WebhookController
 
WebhookSecurityUtils - Class in edu.ucsb.cs156.frontiers.utilities
Utility class for webhook security validation
webSecurityCustomizer() - Method in class edu.ucsb.cs156.frontiers.config.SecurityConfig
The `webSecurityCustomizer` method is used to configure web security in Java, specifically ignoring requests to the "/h2-console/**" path.
WiremockApplicationRunner - Class in edu.ucsb.cs156.frontiers.startup
 
WiremockApplicationRunner() - Constructor for class edu.ucsb.cs156.frontiers.startup.WiremockApplicationRunner
 
WiremockService - Class in edu.ucsb.cs156.frontiers.services.wiremock
This is a service for mocking authentication using wiremock
WiremockService() - Constructor for class edu.ucsb.cs156.frontiers.services.wiremock.WiremockService
 
WiremockServiceDummy - Class in edu.ucsb.cs156.frontiers.services.wiremock
This is a dummy service for profiles besides wiremock where we do not want the mocked authentication, but instead real oauth authentication
WiremockServiceDummy() - Constructor for class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceDummy
 
WiremockServiceImpl - Class in edu.ucsb.cs156.frontiers.services.wiremock
This is a service for mocking authentication using wiremock
WiremockServiceImpl() - Constructor for class edu.ucsb.cs156.frontiers.services.wiremock.WiremockServiceImpl
 
WRITE - Enum constant in enum class edu.ucsb.cs156.frontiers.enums.RepositoryPermissions
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form