org.jasig.portlet.athletics.dao
Class AthleticsDaoMockImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
AthleticsDaoMockImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 AthleticsFeed getFeed()
          Return an athletics feed representing all current news stories and competitions for all known sports.
 Sport getSport(String sport)
          Return details, news stories, and competitions for an individual sport.
 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

AthleticsDaoMockImpl

public AthleticsDaoMockImpl()
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

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.