org.jasig.portlet.athletics.dao
Class AthleticsDaoMockImpl
java.lang.Object
org.jasig.portlet.athletics.dao.AthleticsDaoMockImpl
- All Implemented Interfaces:
- IAthleticsDao, org.springframework.beans.factory.InitializingBean
public class AthleticsDaoMockImpl
- extends Object
- implements org.springframework.beans.factory.InitializingBean, IAthleticsDao
|
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
AthleticsDaoMockImpl
public AthleticsDaoMockImpl()
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
getFeed
public AthleticsFeed getFeed()
- Description copied from interface:
IAthleticsDao
- Return an athletics feed representing all current news stories and
competitions for all known sports.
- Specified by:
getFeed in interface IAthleticsDao
- Returns:
getSport
public Sport getSport(String sport)
- Description copied from interface:
IAthleticsDao
- Return details, news stories, and competitions for an individual sport.
- Specified by:
getSport in interface IAthleticsDao
- Returns:
Copyright © 2011 Jasig. All Rights Reserved.