@Override
 public void exportArticles() {
   List<Article> articles =
       articleRepository.findArticlesForExport(new PageRequest(0, DEFAULT_SIZE));
   if (articles != null && !articles.isEmpty()) {
     LOG.info("Exported Items {}", articles.size());
     articles.stream().forEach(e -> e.setExported(true));
     articleRepository.save(articles);
     articleSearchRepository.save(articles);
   }
 }
 @Override
 public Article findArticleByArticleNumber(Long id) {
   Assert.notNull(id);
   return articleRepository.findOne(id);
 }
 public List<Article> loadBestDiscountedArticles() {
   Pageable topTen = new PageRequest(0, 10);
   List<Article> articles = articleRepository.loadBestDiscountedArticles(topTen);
   return articles;
 }