Interface IBeID

All Known Implementing Classes:
JpaBeID

public interface IBeID
Since:
1.0 Oct 29, 2010, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
  • Method Details

    • save

      void save(PersonExt person)
      Saves a person without checking if this person already exists into the persistence
      Parameters:
      person - PersonExt to save
    • saveIfNotExists

      Collection<Person> saveIfNotExists(PersonExt person)
      Saves a person if this person doesn't exist into the persistence. If persons matching this argument exist into the persistence, these persons are returned.
      Parameters:
      person - PersonExt to save
      Returns:
      Collection of matching persons, or null if no matches and person saved
    • loadPerson

      PersonExt loadPerson(int id)
    • loadPerson

      PersonExt loadPerson(String firstName, String lastName)