|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CaseDAO
The CaseDAO is responsible for interacting with the persistence of the case files that hold the relationship between Patients and Clinicians. It is a component of the Persistance layer of the application. It contains a method to save a new CaseFile, along with a method to retrieve a CaseFile between a given Patient and Clinician, and a method to retrieve a List of all the CaseFiles for a given Patient.
| Method Summary | |
|---|---|
java.lang.String |
createCase(CaseFile newCase)
Save a new CaseFile. |
CaseFile |
getCase(Patient patient,
Clinician clinician)
Retrieve the CaseFile between the supplied patient and clinician. |
java.util.List<CaseFile> |
getCases(Patient patient)
Retrieve all the CaseFiles that contain the supplied Patient |
| Method Detail |
|---|
java.lang.String createCase(CaseFile newCase)
newCase - the CaseFile to persist
CaseFile getCase(Patient patient,
Clinician clinician)
patient - the Patient in the requested caseclinician - the Clinician in the requested case
java.util.List<CaseFile> getCases(Patient patient)
patient - the Patient to get the CaseFiles for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||