|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectidi.diplom.linda.logic.NoteLogic
public class NoteLogic
Constructor Summary | |
---|---|
NoteLogic()
|
Method Summary | |
---|---|
Note[] |
getAllNotes(Patient p)
Receives all notes saved on the specified patient |
Note[] |
getNotes(Patient p,
java.util.Date fromDate,
java.util.Date toDate)
|
void |
saveNote(Note n)
Saves the note in database |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoteLogic()
Method Detail |
---|
public void saveNote(Note n) throws DatabaseException, GeneralException
note
- to be saved
DatabaseException
GeneralException
public Note[] getNotes(Patient p, java.util.Date fromDate, java.util.Date toDate)
public Note[] getAllNotes(Patient p) throws DatabaseException, GeneralException
patient
- to get notes from
DatabaseException
GeneralException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |