Package | Description |
---|---|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
Modifier and Type | Method and Description |
---|---|
SerializedObject |
SerializedObjectDAO.getSerializedObject(java.lang.Integer id)
Retrieves the raw SerializedObject from the database by id
|
SerializedObject |
SerializedObjectDAO.getSerializedObjectByUuid(java.lang.String uuid)
Retrieves the raw Serialized Object from the database by uuid
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SerializedObject> |
SerializedObjectDAO.getAllSerializedObjects(java.lang.Class<?> type,
boolean includeRetired)
Retrieves all raw Serialized Object from the database that match the passed type and
includeRetired flag
|
java.util.List<SerializedObject> |
SerializedObjectDAO.getAllSerializedObjectsByName(java.lang.Class<?> type,
java.lang.String name,
boolean exactMatchOnly)
Retrieves all raw Serialized Objects from the database that match the passed type and name
|
Modifier and Type | Method and Description |
---|---|
<T extends OpenmrsObject> |
SerializedObjectDAO.convertSerializedObject(java.lang.Class<T> clazz,
SerializedObject serializedObject)
Converts a raw SerializedObject to an OpenmrsObject, using the appropriate Serializer
|
Modifier and Type | Method and Description |
---|---|
SerializedObject |
HibernateSerializedObjectDAO.getSerializedObject(java.lang.Integer id) |
SerializedObject |
HibernateSerializedObjectDAO.getSerializedObjectByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SerializedObject> |
HibernateSerializedObjectDAO.getAllSerializedObjects(java.lang.Class<?> type,
boolean includeRetired) |
java.util.List<SerializedObject> |
HibernateSerializedObjectDAO.getAllSerializedObjectsByName(java.lang.Class<?> type,
java.lang.String name,
boolean exactMatchOnly) |
Modifier and Type | Method and Description |
---|---|
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.convertSerializedObject(java.lang.Class<T> clazz,
SerializedObject serializedObject) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.