@Transactional public class DatatypeServiceImpl extends BaseOpenmrsService implements DatatypeService
DatatypeService
Constructor and Description |
---|
DatatypeServiceImpl() |
onShutdown, onStartup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onShutdown, onStartup
public void setDao(DatatypeDAO dao)
dao
- the dao to set@Transactional(readOnly=true) public Set<Class<? extends CustomDatatype<?>>> getAllDatatypeClasses()
getAllDatatypeClasses
in interface DatatypeService
DatatypeService.getAllDatatypeClasses()
@Transactional(readOnly=true) public Set<Class<? extends CustomDatatypeHandler<?,?>>> getAllHandlerClasses()
getAllHandlerClasses
in interface DatatypeService
DatatypeService.getAllHandlerClasses()
@Transactional(readOnly=true) public <T extends CustomDatatype<?>> T getDatatype(Class<T> clazz, String config)
getDatatype
in interface DatatypeService
CustomDatatype
, with a configuration setDatatypeService.getDatatype(java.lang.Class, java.lang.String)
@Transactional(readOnly=true) public List<Class<? extends CustomDatatypeHandler>> getHandlerClasses(Class<? extends CustomDatatype<?>> datatype)
getHandlerClasses
in interface DatatypeService
CustomDatatype
classDatatypeService.getHandlerClasses(Class)
@Transactional(readOnly=true) public CustomDatatypeHandler<?,?> getHandler(CustomDatatype<?> datatype, String handlerConfig)
DatatypeService
CustomDatatype
, and sets its configurationgetHandler
in interface DatatypeService
DatatypeService.getHandler(org.openmrs.customdatatype.CustomDatatype, java.lang.String)
@Transactional(readOnly=true) public ClobDatatypeStorage getClobDatatypeStorage(Integer id)
DatatypeService
getClobDatatypeStorage
in interface DatatypeService
DatatypeService.getClobDatatypeStorage(java.lang.Integer)
@Transactional(readOnly=true) public ClobDatatypeStorage getClobDatatypeStorageByUuid(String uuid)
DatatypeService
getClobDatatypeStorageByUuid
in interface DatatypeService
DatatypeService.getClobDatatypeStorageByUuid(java.lang.String)
public ClobDatatypeStorage saveClobDatatypeStorage(ClobDatatypeStorage storage)
DatatypeService
saveClobDatatypeStorage
in interface DatatypeService
DatatypeService.saveClobDatatypeStorage(org.openmrs.api.db.ClobDatatypeStorage)
public void deleteClobDatatypeStorage(ClobDatatypeStorage storage)
DatatypeService
deleteClobDatatypeStorage
in interface DatatypeService
storage
- the object to deleteDatatypeService.deleteClobDatatypeStorage(org.openmrs.api.db.ClobDatatypeStorage)
Copyright © 2024 OpenMRS Inc.. All rights reserved.