Package | Description |
---|---|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl |
Modifier and Type | Method and Description |
---|---|
OpenmrsSerializer |
SerializationService.getDefaultSerializer()
Returns the default serializer configured for the system.
|
OpenmrsSerializer |
SerializationService.getSerializer(Class<? extends OpenmrsSerializer> serializationClass)
Returns the serializer that matches the passed class, or null if no such serializer exists.
|
Modifier and Type | Method and Description |
---|---|
List<? extends OpenmrsSerializer> |
SerializationService.getSerializers()
Gets the list of OpenmrsSerializers that have been registered with this service.
|
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 |
OpenmrsSerializer |
SerializationService.getSerializer(Class<? extends OpenmrsSerializer> serializationClass)
Returns the serializer that matches the passed class, or null if no such serializer exists.
|
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 |
---|---|
Class<? extends OpenmrsSerializer> |
SerializedObject.getSerializationClass() |
Modifier and Type | Method and Description |
---|---|
<T extends OpenmrsObject> |
SerializedObjectDAO.saveObject(T object,
OpenmrsSerializer serializer)
Saves an object to the database, in serialized form, using the specified
OpenmrsSerializer |
Modifier and Type | Method and Description |
---|---|
void |
SerializedObject.setSerializationClass(Class<? extends OpenmrsSerializer> serializationClass) |
Modifier and Type | Method and Description |
---|---|
<T extends OpenmrsObject> |
HibernateSerializedObjectDAO.saveObject(T object,
OpenmrsSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
OpenmrsSerializer |
SerializationServiceImpl.getDefaultSerializer() |
OpenmrsSerializer |
SerializationServiceImpl.getSerializer(Class<? extends OpenmrsSerializer> serializationClass) |
Modifier and Type | Method and Description |
---|---|
List<? extends OpenmrsSerializer> |
SerializationServiceImpl.getSerializers() |
Modifier and Type | Method and Description |
---|---|
<T> T |
SerializationServiceImpl.deserialize(String serializedObject,
Class<? extends T> objectClass,
Class<? extends OpenmrsSerializer> serializerClass) |
OpenmrsSerializer |
SerializationServiceImpl.getSerializer(Class<? extends OpenmrsSerializer> serializationClass) |
String |
SerializationServiceImpl.serialize(Object o,
Class<? extends OpenmrsSerializer> clazz) |
void |
SerializationServiceImpl.setSerializers(List<? extends OpenmrsSerializer> serializers) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.