Example #1
0
 @Override
 public List<ForumTopic> getLatestTopics(int offset, int limit) {
   Pageable pageable = new PageRequest(offset / limit, limit);
   return forumTopicDao.getTopics(pageable);
 }