org.jasig.portlet.courses.dao.xml
Class HttpClientCourseOfferingDaoImpl
java.lang.Object
org.jasig.portlet.courses.dao.xml.HttpClientCourseOfferingDaoImpl
- All Implemented Interfaces:
- ICourseOfferingDao
public class HttpClientCourseOfferingDaoImpl
- extends Object
- implements ICourseOfferingDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHOOL_LIST_KEY
protected final String SCHOOL_LIST_KEY
- See Also:
- Constant Field Values
TERM_LIST_KEY
protected final String TERM_LIST_KEY
- See Also:
- Constant Field Values
DEPARTMENT_LIST_KEY
protected final String DEPARTMENT_LIST_KEY
- See Also:
- Constant Field Values
COURSE_LIST_KEY
protected final String COURSE_LIST_KEY
- See Also:
- Constant Field Values
HttpClientCourseOfferingDaoImpl
public HttpClientCourseOfferingDaoImpl()
setRestTemplate
@Autowired(required=true)
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
setCache
@Autowired(required=true)
public void setCache(net.sf.ehcache.Cache cache)
setTermListUrl
public void setTermListUrl(String termListUrl)
setSchoolListUrl
public void setSchoolListUrl(String schoolListUrl)
setDepartmentListUrl
public void setDepartmentListUrl(String departmentListUrl)
setCourseListUrl
public void setCourseListUrl(String courseListUrl)
setCourseUrl
public void setCourseUrl(String courseUrl)
getTerms
public TermList getTerms(String schoolCode)
- Specified by:
getTerms in interface ICourseOfferingDao
getCurrentTerm
public Term getCurrentTerm(String schoolCode)
- Specified by:
getCurrentTerm in interface ICourseOfferingDao
getSchools
public SchoolList getSchools()
- Specified by:
getSchools in interface ICourseOfferingDao
getSchool
public School getSchool(String schoolCode)
- Specified by:
getSchool in interface ICourseOfferingDao
getDepartments
public DepartmentList getDepartments(String schoolCode,
String termCode)
- Specified by:
getDepartments in interface ICourseOfferingDao
getDepartment
public Department getDepartment(String schoolCode,
String departmentCode,
String termCode)
- Specified by:
getDepartment in interface ICourseOfferingDao
getCourseOfferings
public CourseList getCourseOfferings(String schoolCode,
String departmentCode,
String termCode)
- Specified by:
getCourseOfferings in interface ICourseOfferingDao
getCourseOffering
public FullCourseOffering getCourseOffering(String courseCode,
String termCode)
- Specified by:
getCourseOffering in interface ICourseOfferingDao
getCourseSectionOffering
public CourseSection getCourseSectionOffering(String courseCode,
String sectionCode,
String termCode)
- Specified by:
getCourseSectionOffering in interface ICourseOfferingDao
Copyright © 2012 Jasig. All Rights Reserved.