Package be.gaudry.eid.dao
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 Summary
Modifier and TypeMethodDescriptionloadPerson(int id)
loadPerson(String firstName, String lastName)
void
Saves a person without checking if this person already exists into the persistencesaveIfNotExists(PersonExt person)
Saves a person if this person doesn't exist into the persistence.
-
Method Details
-
save
Saves a person without checking if this person already exists into the persistence- Parameters:
person
-PersonExt
to save
-
saveIfNotExists
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
-
loadPerson
-