Package edu.ucsb.cs156.courses.services
Class UCSBAPIQuarterService
java.lang.Object
edu.ucsb.cs156.courses.services.UCSBAPIQuarterService
Service object that wraps the UCSB Academic Curriculum API
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionUCSBAPIQuarterService(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanisQuarterInRegistrationPass(String quarterYYYYQ) lastDayToRegister(UCSBAPIQuarter ucsbApiQuarter) booleanquarterYYYYQInRange(String quarterYYYYQ)  
- 
Field Details
- 
CURRENT_QUARTER_ENDPOINT
- See Also:
 
 - 
ALL_QUARTERS_ENDPOINT
- See Also:
 
 - 
END_QUARTER_ENDPOINT
- See Also:
 
 
 - 
 - 
Constructor Details
 - 
Method Details
- 
getStartQtrYYYYQ
 - 
getEndQtrYYYYQ
 - 
getCurrentQuarterYYYYQ
- Throws:
 Exception
 - 
getActiveQuarterList
- Throws:
 Exception
 - 
getCurrentQuarter
- Throws:
 Exception
 - 
getAllQuarters
- Throws:
 Exception
 - 
getAllQuartersFromAPI
- Throws:
 Exception
 - 
quarterYYYYQInRange
 - 
loadAllQuarters
- Throws:
 Exception
 - 
getActiveQuarters
- Throws:
 Exception
 - 
lastDayToRegister
 - 
isQuarterInRegistrationPass
 - 
getActiveRegistrationQuarters
- Throws:
 Exception
 
 -