public class MockCoursesDaoImpl extends Object implements ICacheableCoursesDao<Serializable,String>, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
MockCoursesDaoImpl.TermListKey |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
MockCoursesDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CoursesByTerm |
getCoursesByTerm(String termCode)
Get courses for a term for the current user
|
String |
getCoursesByTermKey(javax.portlet.PortletRequest request,
String termCode,
TermList termList)
A cache key for the courses that would be retrieved by this request
|
TermList |
getTermList(Serializable key)
Get a term list for the current user
|
Serializable |
getTermListKey(javax.portlet.PortletRequest request)
A cache key for the term list that would be retrieved by this request
|
void |
setMockData(org.springframework.core.io.Resource mockData) |
public void setMockData(org.springframework.core.io.Resource mockData)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic Serializable getTermListKey(javax.portlet.PortletRequest request)
ICacheableCoursesDaogetTermListKey in interface ICacheableCoursesDao<Serializable,String>public String getCoursesByTermKey(javax.portlet.PortletRequest request, String termCode, TermList termList)
ICacheableCoursesDaogetCoursesByTermKey in interface ICacheableCoursesDao<Serializable,String>public TermList getTermList(Serializable key)
ICacheableCoursesDaogetTermList in interface ICacheableCoursesDao<Serializable,String>public CoursesByTerm getCoursesByTerm(String termCode)
ICacheableCoursesDaogetCoursesByTerm in interface ICacheableCoursesDao<Serializable,String>Copyright © 2013 Jasig. All Rights Reserved.