Uses of Class
edu.ucsb.cs156.frontiers.entities.Course
Packages that use Course
Package
Description
-
Uses of Course in edu.ucsb.cs156.frontiers.config
Methods in edu.ucsb.cs156.frontiers.config with parameters of type CourseModifier and TypeMethodDescriptionCourseSecurity.baseHasManagePermissions
(org.springframework.security.access.expression.method.MethodSecurityExpressionOperations operations, Course course) This is a helper method that checks if the current user has management permissions for the given course. -
Uses of Course in edu.ucsb.cs156.frontiers.controllers
Methods in edu.ucsb.cs156.frontiers.controllers with parameters of type CourseModifier and TypeMethodDescriptionTeamsController.fromCSVRow
(String[] row, TeamsController.TeamSourceType sourceType, Course course) TeamsController.teamMemberFromSimpleCsv
(String[] row, Course course) static UpsertResponse
RosterStudentsController.upsertStudent
(RosterStudentRepository rosterStudentRepository, UpdateUserService updateUserService, RosterStudent student, Course course, RosterStatus rosterStatus) Constructors in edu.ucsb.cs156.frontiers.controllers with parameters of type Course -
Uses of Course in edu.ucsb.cs156.frontiers.repositories
Methods in edu.ucsb.cs156.frontiers.repositories that return types with arguments of type CourseModifier and TypeMethodDescriptionCourseRepository.findByInstallationId
(String installationId) CourseRepository.findByInstructorEmail
(String instructorEmail) Methods in edu.ucsb.cs156.frontiers.repositories with parameters of type CourseModifier and TypeMethodDescriptionRosterStudentRepository.findByCourseAndGithubId
(Course course, int githubId) CourseStaffRepository.findByCourseAndGithubLogin
(Course course, String githubLogin) RosterStudentRepository.findByCourseAndGithubLogin
(Course course, String githubLogin) CourseStaffRepository.findByEmailAndCourse
(String email, Course course) This method returns a CourseStaff entity with a given email and course. -
Uses of Course in edu.ucsb.cs156.frontiers.services
Methods in edu.ucsb.cs156.frontiers.services with parameters of type CourseModifier and TypeMethodDescriptionGithubTeamService.addMemberToGithubTeam
(String githubLogin, Integer teamId, String role, Course course, Integer orgId) Adds a member to a GitHub team.GithubTeamService.createOrGetTeamId
(Team team, Course course) Creates a team on GitHub if it doesn't exist, or returns the existing team ID.void
RepositoryService.createStudentRepository
(Course course, RosterStudent student, String repoPrefix, Boolean isPrivate, RepositoryPermissions permissions) Creates a single student repository if it doesn't already exist, and provisions access to the repository by that studentGithubGraphQLService.getCommits
(Course course, String owner, String repo, String branch, int first, String after) GithubGraphQLService.getDefaultBranchName
(Course course, String owner, String repo) Retrieves the name of the default branch for a given GitHub repository.JwtService.getInstallationToken
(Course course) Method to retrieve a token to act as a particular app installation in a particular organizationOrganizationMemberService.getOrganizationAdmins
(Course course) This endpoint returns the list of **admins** for the organization.OrganizationMemberService.getOrganizationInvitees
(Course course) This endpoint returns the list of users who have been **invited** to the organization but have not yet accepted.OrganizationMemberService.getOrganizationMembers
(Course course) This endpoint returns the list of **members**, not admins for the organization.Get the org id, given the org name.Gets the team ID for a team name, returns null if team doesn't exist.GithubTeamService.getTeamMembershipStatus
(String githubLogin, Integer teamId, Course course) Gets the current team membership status for a user.void
OrganizationLinkerService.unenrollOrganization
(Course course) Removes the Frontiers installation from the linked GitHub org