|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.api.db.hibernate.HibernateObsDAO
public class HibernateObsDAO
Hibernate specific Observation related functions This class should not be used directly. All
calls should go through the ObsService methods.
ObsDAO,
ObsService| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
protected org.hibernate.SessionFactory |
sessionFactory
|
| Constructor Summary | |
|---|---|
HibernateObsDAO()
|
|
| Method Summary | |
|---|---|
void |
deleteMimeType(MimeType mimeType)
Deprecated. |
void |
deleteObs(Obs obs)
|
java.util.List<MimeType> |
getAllMimeTypes(boolean includeRetired)
Deprecated. |
MimeType |
getMimeType(java.lang.Integer mimeTypeId)
Deprecated. |
Obs |
getObs(java.lang.Integer obsId)
|
Obs |
getObsByUuid(java.lang.String uuid)
Auto generated method comment |
java.lang.Integer |
getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs)
|
java.util.List<Obs> |
getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sortList,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
|
MimeType |
saveMimeType(MimeType mimeType)
Deprecated. |
Obs |
saveObs(Obs obs)
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set session factory that allows us to connect to the database that Hibernate knows about. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
protected org.hibernate.SessionFactory sessionFactory
| Constructor Detail |
|---|
public HibernateObsDAO()
| Method Detail |
|---|
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory -
public void deleteObs(Obs obs)
throws DAOException
deleteObs in interface ObsDAODAOExceptionObsService.deleteObs(org.openmrs.Obs)
public Obs getObs(java.lang.Integer obsId)
throws DAOException
getObs in interface ObsDAODAOExceptionObsService.getObs(java.lang.Integer)
@Deprecated
public MimeType getMimeType(java.lang.Integer mimeTypeId)
throws DAOException
getMimeType in interface ObsDAODAOExceptionObsDAO.getMimeType(java.lang.Integer)
@Deprecated
public java.util.List<MimeType> getAllMimeTypes(boolean includeRetired)
throws DAOException
getAllMimeTypes in interface ObsDAODAOExceptionObsDAO.getAllMimeTypes(boolean)
@Deprecated
public MimeType saveMimeType(MimeType mimeType)
throws DAOException
saveMimeType in interface ObsDAODAOExceptionObsDAO.saveMimeType(org.openmrs.MimeType)
@Deprecated
public void deleteMimeType(MimeType mimeType)
throws DAOException
deleteMimeType in interface ObsDAODAOExceptionObsDAO.deleteMimeType(org.openmrs.MimeType)
public Obs saveObs(Obs obs)
throws DAOException
saveObs in interface ObsDAODAOExceptionObsDAO.saveObs(org.openmrs.Obs)
public java.util.List<Obs> getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sortList,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
throws DAOException
getObservations in interface ObsDAODAOExceptionObsDAO.getObservations(List, List, List, List, List, List, List,
Integer, Integer, Date, Date, boolean)
public java.lang.Integer getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs)
throws DAOException
getObservationCount in interface ObsDAODAOExceptionorg.openmrs.api.db.ObsDAO#getObservationCount(java.util.List, java.util.List,
java.util.List, java.util.List, java.util.List, java.util.List, java.lang.Integer,
java.util.Date, java.util.Date, boolean)public Obs getObsByUuid(java.lang.String uuid)
ObsDAO
getObsByUuid in interface ObsDAOObsDAO.getObsByUuid(java.lang.String)
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||