/**
  * Get list of all news
  *
  * @param currentIndex
  * @param filter
  * @param countNewsOfPage
  * @return List of news
  * @throws ServiceException
  */
 @Transactional(rollbackFor = ServiceException.class)
 @Override
 public List<News> getAllNewsForPage(int currentIndex, FilterForm filter, int countNewsOfPage)
     throws ServiceException {
   return newsService.getAllNewsForPage(
       currentIndex * countNewsOfPage - 2, currentIndex * countNewsOfPage, filter);
 }