public void removeNonUserRecords() throws SQLException
   {
      Collection<User> users = User.getUsers();
      Collection<Integer> recordNumbers = GetRecords.create().getRecordNumbers();
      Collection<Integer> toBeDeleted = new LinkedList<Integer>();
      for (Integer recNumber : recordNumbers)
      {
         Record r = GetRecords.create().getRecord(recNumber);
         boolean delete = true;
         for (User user : users)
            if (user.getID() == r.getOwner())
               delete = false;
         if (delete)
            toBeDeleted.add(r.getNumber());
      }

      System.out.println("Deleting " + toBeDeleted.size() + " records");
      for (Integer rec : toBeDeleted)
      {
         Record r = GetRecords.create().getRecord(rec);
         System.out.println("Deleting " + r.getAuthor() + " - " + r.getTitle());
         GetRecords.create().deleteRecord(r);
      }
   }