public class WebBinaryStreamHandler extends BinaryStreamHandler
BinaryStreamHandler for web specific views.loglongfmt, nfHTML_VIEW, PREVIEW_VIEW, RAW_VIEW, TEXT_VIEW, TITLE_VIEW, URI_VIEW| Constructor and Description |
|---|
WebBinaryStreamHandler()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Obs |
getObs(Obs obs,
String view)
Returns the ComplexData for an Obs depending on the view.
|
String[] |
getSupportedViews()
Supported views getter
|
saveObsgetComplexDataFile, getExtension, getOutputFileToWrite, purgeComplexData, supportsViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpurgeComplexData, supportsViewpublic Obs getObs(Obs obs, String view)
ComplexObsHandler.URI_VIEW: a lightweight alternative to returning the
ComplexData from the parent class since this does not require access to the service layer.
Gives a link to the ComplexServlet for this obs
getObs in interface ComplexObsHandlergetObs in class BinaryStreamHandlerobs - an obs without complex data filled inview - nullable view type. This is defined by the ui and view/handlerBinaryStreamHandler.getObs(Obs, String)public String[] getSupportedViews()
ComplexObsHandlergetSupportedViews in interface ComplexObsHandlergetSupportedViews in class BinaryStreamHandlerComplexObsHandler.getSupportedViews()Copyright © 2015 OpenMRS Inc.. All rights reserved.