Class PSCourseController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.PSCourseController
@RequestMapping("/api/courses")
@RestController
public class PSCourseController
extends ApiController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallCoursesForPsId(Long psId) deleteCourses(Long id) deleteCourses_PSID(String enrollCd, Long psId) getCourseById(Long id) postCourses(String enrollCd, Long psId) putCourseById_admin(Long id, @Valid PSCourse incomingCourses) putCoursesById(Long id, @Valid PSCourse incomingCourses) thisUsersCoursesForPsId(Long psId) Methods inherited from class ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException
-
Constructor Details
-
PSCourseController
public PSCourseController()
-
-
Method Details
-
allUsersCourses
-
thisUsersCourses
-
allCoursesForPsId
-
thisUsersCoursesForPsId
-
getCourseById_admin
-
getCourseById
-
postCourses
-
deleteCourses_Admin
-
deleteCourses
-
deleteCourses_PSID
-
putCourseById_admin
-
putCoursesById
-