public class BinaryDataHandler extends AbstractHandler implements ComplexObsHandler
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
longfmt, nf| Constructor and Description |
|---|
BinaryDataHandler()
Constructor initializes formats for alternative file names to protect from unintentionally
overwriting existing files.
|
| Modifier and Type | Method and Description |
|---|---|
Obs |
getObs(Obs obs,
String view)
Currently supports all views
|
Obs |
saveObs(Obs obs)
TODO should this support a StringReader too?
|
getComplexDataFile, getExtension, getOutputFileToWrite, purgeComplexDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpurgeComplexDatapublic BinaryDataHandler()
public Obs getObs(Obs obs, String view)
getObs in interface ComplexObsHandlergetObs in class AbstractHandlerobs - an obs without complex data filled inview - nullable view type. This is defined by the ui and view/handlerComplexObsHandler.getObs(org.openmrs.Obs, java.lang.String)public Obs saveObs(Obs obs) throws APIException
saveObs in interface ComplexObsHandlerAPIExceptionComplexObsHandler.saveObs(org.openmrs.Obs)Copyright © 2018 OpenMRS LLC.. All Rights Reserved.