@Override
 public ArrayList<Long> getAllContact() {
   ArrayList<Long> listContacts = new ArrayList<>();
   for (Contact contact : findAll()) {
     listContacts.add((long) contact.getContactid());
   }
   return listContacts;
 }
 @Override
 public void persist(Contact entity) {
   ContactDaoFixed.listContacts.put((long) entity.getContactid(), entity);
 }