Package | Description |
---|---|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.impl | |
org.openmrs.serialization |
Modifier and Type | Method and Description |
---|---|
<T> T |
SerializationService.deserialize(String serializedObject,
Class<? extends T> objectClass,
Class<? extends OpenmrsSerializer> serializerClass)
Deserialize the given string into a full object using the given
OpenmrsSerializer
class |
List<PersonMergeLog> |
PersonService.getAllPersonMergeLogs(boolean deserialize)
Gets all the
PersonMergeLog objects from the model |
PersonMergeLog |
PersonService.getLosingPersonMergeLog(Person person,
boolean deserialize)
Gets the
PersonMergeLog where person p is the loser. |
PersonMergeLog |
PersonService.getPersonMergeLogByUuid(String uuid,
boolean deserialize)
Gets a PersonMergeLog object from the model using the UUID identifier.
|
List<PersonMergeLog> |
PersonService.getWinningPersonMergeLogs(Person person,
boolean deserialize)
Gets
PersonMergeLog objects by winning person p. |
void |
PatientService.mergePatients(Patient preferred,
List<Patient> notPreferred)
Convenience method to join multiple patients' information into one record.
|
void |
PatientService.mergePatients(Patient preferred,
Patient notPreferred)
Convenience method to join two patients' information into one record.
|
PersonMergeLog |
PersonService.savePersonMergeLog(PersonMergeLog personMergeLog)
Builds the serialized data from
PersonMergeLog.getPersonMergeLogData() , sets the mergedData String,
and the creator and date if null. |
String |
SerializationService.serialize(Object o,
Class<? extends OpenmrsSerializer> clazz)
Serialize the passed object into an identifying string that can be retrieved later using the
passed
OpenmrsSerializer class |
Modifier and Type | Method and Description |
---|---|
<T> T |
SerializationServiceImpl.deserialize(String serializedObject,
Class<? extends T> objectClass,
Class<? extends OpenmrsSerializer> serializerClass) |
List<PersonMergeLog> |
PersonServiceImpl.getAllPersonMergeLogs(boolean deserialize) |
PersonMergeLog |
PersonServiceImpl.getLosingPersonMergeLog(Person person,
boolean deserialize) |
PersonMergeLog |
PersonServiceImpl.getPersonMergeLogByUuid(String uuid,
boolean deserialize) |
List<PersonMergeLog> |
PersonServiceImpl.getWinningPersonMergeLogs(Person person,
boolean deserialize) |
void |
PatientServiceImpl.mergePatients(Patient preferred,
List<Patient> notPreferred) |
void |
PatientServiceImpl.mergePatients(Patient preferred,
Patient notPreferred)
1) Moves object (encounters/obs) pointing to
nonPreferred to
preferred 2) Copies data (gender/birthdate/names/ids/etc) from
nonPreferred to preferred iff the data is missing or null in
preferred 3) notPreferred is marked as voided |
PersonMergeLog |
PersonServiceImpl.savePersonMergeLog(PersonMergeLog personMergeLog) |
String |
SerializationServiceImpl.serialize(Object o,
Class<? extends OpenmrsSerializer> clazz) |
Modifier and Type | Method and Description |
---|---|
<T> T |
SimpleXStreamSerializer.deserialize(String serializedObject,
Class<? extends T> clazz) |
<T> T |
OpenmrsSerializer.deserialize(String serializedObject,
Class<? extends T> clazz)
Deserialize the given string into a full object
|
String |
SimpleXStreamSerializer.serialize(Object o) |
String |
OpenmrsSerializer.serialize(Object o)
Turn the current object into an identifying string that can be retrieved later
|
Constructor and Description |
---|
SimpleXStreamSerializer()
Default Constructor
|
SimpleXStreamSerializer(com.thoughtworks.xstream.XStream customXStream)
Deprecated.
since 2.7.0, 2.6.2, 2.5.13 use SimpleXStreamSerializer(XStream, AdministrationService)
|
SimpleXStreamSerializer(com.thoughtworks.xstream.XStream customXStream,
AdministrationService adminService) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.