org.jasig.portlet.courses.dao.xml
Class MockCoursesDaoImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
MockCoursesDaoImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 CoursesByTerm getCoursesByTerm(javax.portlet.PortletRequest request, String termCode)
          Get courses for a term for the current user
 TermList getTermList(javax.portlet.PortletRequest request)
          Get a term list for the current user
 void setMockData(org.springframework.core.io.Resource mockData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

MockCoursesDaoImpl

public MockCoursesDaoImpl()
Method Detail

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.