|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.domain.rhims.dao.CaseDAOMySQL
@Name(value="caseDAO") public class CaseDAOMySQL
This EJB provides a MySQL specific implementation of the CaseDAO. Its Seam name is "caseDAO".
| Constructor Summary | |
|---|---|
CaseDAOMySQL()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CaseDAOMySQL()
| Method Detail |
|---|
public java.lang.String createCase(CaseFile newCase)
CaseDAO
createCase in interface CaseDAOnewCase - the CaseFile to persist
CaseDAO.createCase(CaseFile)
public CaseFile getCase(Patient patient,
Clinician clinician)
CaseDAO
getCase in interface CaseDAOpatient - the Patient in the requested caseclinician - the Clinician in the requested case
CaseDAO.getCase(Patient, Clinician)public java.util.List<CaseFile> getCases(Patient patient)
CaseDAO
getCases in interface CaseDAOpatient - the Patient to get the CaseFiles for
CaseDAO.getCases(Patient)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||