public interface NewsService
Modifier and Type | Method and Description |
---|---|
List<? extends NewsSource> |
getAllActiveNewsSources() |
List<? extends NewsSource> |
getAllActiveNewsSources(Long parentId) |
List<? extends NewsSource> |
getAllNewsSources() |
NewsCache |
getCache() |
NewsDao |
getDao() |
NewsArticle |
getNewsArticle(String articleId) |
NewsArticle |
getNewsArticle(String articleId,
long sourceId)
Retrieve the details of an article
|
NewsSource |
getNewsSourceById(Long id)
Retrieve a NewsSource object
|
List<? extends NewsSource> |
getNewsSources(Long parentId,
Boolean isActive) |
void |
setCache(NewsCache cache) |
void |
setDao(NewsDao dao) |
List<? extends NewsSource> getNewsSources(Long parentId, Boolean isActive)
List<? extends NewsSource> getAllNewsSources()
List<? extends NewsSource> getAllActiveNewsSources()
List<? extends NewsSource> getAllActiveNewsSources(Long parentId)
NewsSource getNewsSourceById(Long id)
id
- the id of the NewsSource to retrieveNewsArticle getNewsArticle(String articleId, long sourceId)
articleId
- the id of the article to retrievesourceId
- the id of the NewsSource to which the article belongs.NewsArticle getNewsArticle(String articleId)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.