org.jasig.portlet.athletics.dao
Class AthleticsDaoMergingImpl
java.lang.Object
org.jasig.portlet.athletics.dao.AthleticsDaoMergingImpl
- All Implemented Interfaces:
- IAthleticsDao
public class AthleticsDaoMergingImpl
- extends Object
- implements IAthleticsDao
AthleticsDaoMergingImpl merges together the results of multiple athletics
feed DAOs. The news items and competition results for each sport will be
combined.
- Author:
- Jen Bourey, jennifer.bourey@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AthleticsDaoMergingImpl
public AthleticsDaoMergingImpl()
setDaos
public void setDaos(List<IAthleticsDao> daos)
getFeed
@Cacheable(cacheName="athleticsFeedCache")
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
@Cacheable(cacheName="sportCache")
public Sport getSport(String sportKey)
- 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.