idi.diplom.linda.db.interfaces
Interface PatientDAO

All Superinterfaces:
GenericDAO<Patient,java.lang.Long>
All Known Implementing Classes:
PatientDAOHibernate

public interface PatientDAO
extends GenericDAO<Patient,java.lang.Long>


Method Summary
 Patient findByLifeShirtId(int lifeshirtId)
          Gets a patient based on lifeshirtId
 
Methods inherited from interface idi.diplom.linda.db.interfaces.GenericDAO
findAll, findByExample, findById, makePersistent, makeTransient
 

Method Detail

findByLifeShirtId

Patient findByLifeShirtId(int lifeshirtId)
Gets a patient based on lifeshirtId

Parameters:
lifeshirtId - on wanted patient
Returns:
patient with specified lifeshirtId