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(java.lang.String serializedObject,
java.lang.Class<? extends T> objectClass,
java.lang.Class<? extends OpenmrsSerializer> serializerClass)
Deserialize the given string into a full object using the given
OpenmrsSerializer
class |
java.util.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(java.lang.String uuid,
boolean deserialize)
Gets a PersonMergeLog object from the model using the UUID identifier.
|
java.util.List<PersonMergeLog> |
PersonService.getWinningPersonMergeLogs(Person person,
boolean deserialize)
Gets
PersonMergeLog objects by winning person p. |
void |
PatientService.mergePatients(Patient preferred,
java.util.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. |
java.lang.String |
SerializationService.serialize(java.lang.Object o,
java.lang.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(java.lang.String serializedObject,
java.lang.Class<? extends T> objectClass,
java.lang.Class<? extends OpenmrsSerializer> serializerClass) |
java.util.List<PersonMergeLog> |
PersonServiceImpl.getAllPersonMergeLogs(boolean deserialize) |
PersonMergeLog |
PersonServiceImpl.getLosingPersonMergeLog(Person person,
boolean deserialize) |
PersonMergeLog |
PersonServiceImpl.getPersonMergeLogByUuid(java.lang.String uuid,
boolean deserialize) |
java.util.List<PersonMergeLog> |
PersonServiceImpl.getWinningPersonMergeLogs(Person person,
boolean deserialize) |
void |
PatientServiceImpl.mergePatients(Patient preferred,
java.util.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) |
java.lang.String |
SerializationServiceImpl.serialize(java.lang.Object o,
java.lang.Class<? extends OpenmrsSerializer> clazz) |
Modifier and Type | Method and Description |
---|---|
<T> T |
OpenmrsSerializer.deserialize(java.lang.String serializedObject,
java.lang.Class<? extends T> clazz)
Deserialize the given string into a full object
|
<T> T |
SimpleXStreamSerializer.deserialize(java.lang.String serializedObject,
java.lang.Class<? extends T> clazz) |
java.lang.String |
OpenmrsSerializer.serialize(java.lang.Object o)
Turn the current object into an identifying string that can be retrieved later
|
java.lang.String |
SimpleXStreamSerializer.serialize(java.lang.Object o) |
Constructor and Description |
---|
SimpleXStreamSerializer()
Default Constructor
|
SimpleXStreamSerializer(com.thoughtworks.xstream.XStream customXstream)
Constructor that takes a custom XStream object
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.