org.openmrs.api.db.hibernate
Class PatientSearchCriteria
java.lang.Object
org.openmrs.api.db.hibernate.PatientSearchCriteria
public class PatientSearchCriteria
- extends java.lang.Object
The PatientSearchCriteria class. It has API to return a criteria from the Patient Name and
identifier.
Constructor Summary |
PatientSearchCriteria(org.hibernate.SessionFactory sessionFactory,
org.hibernate.Criteria criteria)
|
Method Summary |
org.hibernate.Criteria |
prepareCriteria(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly)
Prepare a hibernate criteria using the patient identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatientSearchCriteria
public PatientSearchCriteria(org.hibernate.SessionFactory sessionFactory,
org.hibernate.Criteria criteria)
- Parameters:
sessionFactory
- criteria
-
prepareCriteria
public org.hibernate.Criteria prepareCriteria(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly)
- Prepare a hibernate criteria using the patient identifier.
- Parameters:
name
- identifier
- identifierTypes
- matchIdentifierExactly
-
- Returns:
Criteria
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change