|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CaseManager
The CaseManager is the business/application logic that handles the CaseFiles between patients and clinicians in the system. It is responsible for registering creating new cases, retrieving a specific case given a patient and a clinician, and retrieving all the cases for a given patient. It is a component of the Application layer.
| Method Summary | |
|---|---|
java.lang.String |
createCase(long patientID,
long clinicianID)
This method creates a new CaseFile between the Patient and Clinician that have the respective supplied ID numbers. |
java.lang.String |
createCase(Patient patient,
Clinician clinician)
This method creates a new CaseFile between the supplied Patient and Clinician. |
CaseFile |
getCase(Patient patient,
Clinician clinician)
This method retrieves the CaseFile for the supplied Patient, Clinician combo. |
java.util.List<CaseFile> |
getCases(Patient patient)
Retrieves all of the cases associated with Patient patient |
| Method Detail |
|---|
java.lang.String createCase(Patient patient,
Clinician clinician)
patient - the Patient to useclinician - the Clinician to use
java.lang.String createCase(long patientID,
long clinicianID)
patientID - the ID of the patient to useclinicianID - the ID of the clinician to use
CaseFile getCase(Patient patient,
Clinician clinician)
patient - the Patient to get the CaseFile forclinician - the Clinician to get the CaseFile for
java.util.List<CaseFile> getCases(Patient patient)
patient - Patient to get the cases for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||