org.jasig.portlet.courses.dao.xml
Class MockCoursesDaoImpl
java.lang.Object
org.jasig.portlet.courses.dao.xml.MockCoursesDaoImpl
- All Implemented Interfaces:
- ICoursesDao, org.springframework.beans.factory.InitializingBean
public class MockCoursesDaoImpl
- extends Object
- implements ICoursesDao, org.springframework.beans.factory.InitializingBean
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
MockCoursesDaoImpl
public MockCoursesDaoImpl()
setMockData
public void setMockData(org.springframework.core.io.Resource mockData)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getTermList
public TermList getTermList(javax.portlet.PortletRequest request)
- Description copied from interface:
ICoursesDao
- Get a term list for the current user
- Specified by:
getTermList in interface ICoursesDao
- Returns:
getCoursesByTerm
public CoursesByTerm getCoursesByTerm(javax.portlet.PortletRequest request,
String termCode)
- Description copied from interface:
ICoursesDao
- Get courses for a term for the current user
- Specified by:
getCoursesByTerm in interface ICoursesDao
- Returns:
Copyright © 2012 Jasig. All Rights Reserved.