idi.diplom.linda.db.implementation
Class NoteDAOHibernate

java.lang.Object
  extended by idi.diplom.linda.db.implementation.GenericHibernateDAO<Note,java.lang.Long>
      extended by idi.diplom.linda.db.implementation.NoteDAOHibernate
All Implemented Interfaces:
GenericDAO<Note,java.lang.Long>, NoteDAO

public class NoteDAOHibernate
extends GenericHibernateDAO<Note,java.lang.Long>
implements NoteDAO


Constructor Summary
NoteDAOHibernate()
           
 
Method Summary
 java.util.List<Note> getAllNotes(Patient p)
          Gets all notes saved on specified patient
 
Methods inherited from class idi.diplom.linda.db.implementation.GenericHibernateDAO
clear, findAll, findByExample, findById, flush, getPersistentClass, makePersistent, makeTransient, setSession
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface idi.diplom.linda.db.interfaces.GenericDAO
findAll, findByExample, findById, makePersistent, makeTransient
 

Constructor Detail

NoteDAOHibernate

public NoteDAOHibernate()
Method Detail

getAllNotes

public java.util.List<Note> getAllNotes(Patient p)
Description copied from interface: NoteDAO
Gets all notes saved on specified patient

Specified by:
getAllNotes in interface NoteDAO
Returns:
a list of all saved notes