public class NewsServiceImpl extends Object implements NewsService, org.springframework.context.ApplicationContextAware
NewsService| Constructor and Description |
|---|
NewsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<NewsSourceImpl> |
getAllActiveNewsSources()
Deprecated.
|
List<NewsSourceImpl> |
getAllActiveNewsSources(Boolean compact) |
List<NewsSourceImpl> |
getAllActiveNewsSources(Long parentId)
Deprecated.
|
List<NewsSourceImpl> |
getAllActiveNewsSources(Long parentId,
Boolean compact) |
List<NewsSourceImpl> |
getAllNewsSources()
Deprecated.
|
List<NewsSourceImpl> |
getAllNewsSources(Boolean compact) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
NewsCache |
getCache() |
NewsDao |
getDao() |
NewsArticleImpl |
getNewsArticle(String articleId) |
NewsArticleImpl |
getNewsArticle(String articleId,
long sourceId)
Retrieve the details of an article
|
NewsSourceImpl |
getNewsSourceById(Long id)
Retrieve a NewsSource object
|
List<NewsSourceImpl> |
getNewsSources(Long parentId,
Boolean isActive) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCache(NewsCache cache) |
void |
setDao(NewsDao dao) |
public NewsServiceImpl()
@Deprecated public List<NewsSourceImpl> getAllNewsSources()
getAllNewsSources in interface NewsServicepublic List<NewsSourceImpl> getAllNewsSources(Boolean compact)
getAllNewsSources in interface NewsService@Deprecated public List<NewsSourceImpl> getAllActiveNewsSources()
getAllActiveNewsSources in interface NewsServicepublic List<NewsSourceImpl> getAllActiveNewsSources(Boolean compact)
getAllActiveNewsSources in interface NewsService@Deprecated public List<NewsSourceImpl> getAllActiveNewsSources(Long parentId)
getAllActiveNewsSources in interface NewsServicepublic List<NewsSourceImpl> getAllActiveNewsSources(Long parentId, Boolean compact)
getAllActiveNewsSources in interface NewsServicepublic List<NewsSourceImpl> getNewsSources(Long parentId, Boolean isActive)
getNewsSources in interface NewsServicepublic NewsSourceImpl getNewsSourceById(Long id)
NewsServicegetNewsSourceById in interface NewsServiceid - the id of the NewsSource to retrievepublic NewsArticleImpl getNewsArticle(String articleId, long sourceId)
NewsServicegetNewsArticle in interface NewsServicearticleId - the id of the article to retrievesourceId - the id of the NewsSource to which the article belongs.public NewsArticleImpl getNewsArticle(String articleId)
getNewsArticle in interface NewsServicepublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic NewsDao getDao()
getDao in interface NewsServicepublic void setDao(NewsDao dao)
setDao in interface NewsServicepublic NewsCache getCache()
getCache in interface NewsServicepublic void setCache(NewsCache cache)
setCache in interface NewsServiceCopyright © 2011–2014 The Kuali Foundation. All rights reserved.