public Date findLastScanDate() {
   ForumScan scan = dao.findLast();
   if (scan == null) {
     return null;
   }
   return scan.getCreatedAt();
 }
 public void saveScan(int allPosts, int newPosts) {
   ForumScan scan = new ForumScan();
   scan.setAllPosts(allPosts);
   scan.setNewPosts(newPosts);
   scan.setCreatedAt(new Date());
   dao.add(scan);
 }