@Override @Transactional public void save(Person person) { person.setType(personType); daoPersons.save(person); }
@Override public Person getEmptyPerson() { Person person = daoPersons.create(); person.setType(personType); return person; }
@Override public final Person getPerson(String firstName, String name) { return daoPersons.getPerson(firstName, name, personType); }
@Override public final boolean exist(Person actor) { return daoPersons.exists(actor); }
@Override public final Collection<Person> getPersons() { return daoPersons.getPersons(personType); }
@Override @Transactional public boolean delete(Person actor) { return daoPersons.delete(actor); }
@Override @Transactional public final void clearAll() { daoPersons.clearAll(); }
@Override public final void addDataListener(DataListener listener) { daoPersons.addDataListener(listener); }
@Override public final boolean exist(String firstName, String name) { return daoPersons.exists(firstName, name, personType); }