public interface DatatypeService extends OpenmrsService
CustomDatatype and CustomDatatypeHandler.| Modifier and Type | Method and Description |
|---|---|
void |
deleteClobDatatypeStorage(ClobDatatypeStorage storage)
Deletes a clob storage object from the database
|
Set<Class<? extends CustomDatatype<?>>> |
getAllDatatypeClasses() |
Set<Class<? extends CustomDatatypeHandler<?,?>>> |
getAllHandlerClasses() |
ClobDatatypeStorage |
getClobDatatypeStorage(Integer id)
Gets a clob storage object by its id
|
ClobDatatypeStorage |
getClobDatatypeStorageByUuid(String uuid)
Gets a clob storage object by its uuid
|
<T extends CustomDatatype<?>> |
getDatatype(Class<T> clazz,
String config) |
CustomDatatypeHandler<?,?> |
getHandler(CustomDatatype<?> datatype,
String handlerConfig)
Gets the default handler for a
CustomDatatype, and sets its configuration |
List<Class<? extends CustomDatatypeHandler>> |
getHandlerClasses(Class<? extends CustomDatatype<?>> datatypeClass) |
ClobDatatypeStorage |
saveClobDatatypeStorage(ClobDatatypeStorage storage)
Creates or updates a clob storage object
|
onShutdown, onStartupSet<Class<? extends CustomDatatype<?>>> getAllDatatypeClasses()
Set<Class<? extends CustomDatatypeHandler<?,?>>> getAllHandlerClasses()
<T extends CustomDatatype<?>> T getDatatype(Class<T> clazz, String config) throws CustomDatatypeException
clazz - config - CustomDatatype, with a configuration setCustomDatatypeExceptionCustomDatatypeHandler<?,?> getHandler(CustomDatatype<?> datatype, String handlerConfig)
CustomDatatype, and sets its configurationdatatype - handlerConfig - List<Class<? extends CustomDatatypeHandler>> getHandlerClasses(Class<? extends CustomDatatype<?>> datatypeClass)
datatypeClass - CustomDatatype classClobDatatypeStorage getClobDatatypeStorage(Integer id)
id - ClobDatatypeStorage getClobDatatypeStorageByUuid(String uuid)
uuid - ClobDatatypeStorage saveClobDatatypeStorage(ClobDatatypeStorage storage)
storage - void deleteClobDatatypeStorage(ClobDatatypeStorage storage)
storage - the object to deleteCopyright © 2024 OpenMRS Inc.. All rights reserved.