@Override public List<NewsMetric> getNewsMetric() { // TODO Auto-generated method stub return newsDao.getNewsMetric(); }
@Override public List<News> getRecommendedNewsByNewsType(String str, Long count) { // TODO Auto-generated method stub return newsDao.getRecommendedNewsByNewsType(str, count); }
@Override public List<News> getNewsForCarouselByNewsType(String str) { // TODO Auto-generated method stub return newsDao.getNewsForCarouselByNewsType(str); }
@Override public List<News> searchNews(String str) { // TODO Auto-generated method stub return newsDao.searchNewsByQuery(str); }
@Override public void saveLatestNews(News news) { // TODO Auto-generated method stub newsDao.persistNews(news); }
@Override public News getNewsByNewsId(Long id) { // TODO Auto-generated method stub return newsDao.getNewsById(id); }
@Override public List<News> getEveryNewsFromMyDB() { // TODO Auto-generated method stub return newsDao.getAllNews(); }