|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.obs.handler.AbstractHandler
org.openmrs.obs.handler.TextHandler
public class TextHandler
Handler for storing files for complex obs to the file system. Files are stored in the location specified by the global property: "obs.complex_obs_dir"
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.openmrs.obs.handler.AbstractHandler |
|---|
longfmt, nf |
| Constructor Summary | |
|---|---|
TextHandler()
Constructor initializes formats for alternative file names to protect from unintentionally overwriting existing files. |
|
| Method Summary | |
|---|---|
Obs |
getObs(Obs obs,
java.lang.String view)
Currently supports all views |
Obs |
saveObs(Obs obs)
TODO should this support a StringReader too? |
| Methods inherited from class org.openmrs.obs.handler.AbstractHandler |
|---|
getComplexDataFile, getExtension, getOutputFileToWrite, purgeComplexData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openmrs.obs.ComplexObsHandler |
|---|
purgeComplexData |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public TextHandler()
| Method Detail |
|---|
public Obs getObs(Obs obs,
java.lang.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/handler
ComplexObsHandler.getObs(org.openmrs.Obs, java.lang.String)
public Obs saveObs(Obs obs)
throws APIException
saveObs in interface ComplexObsHandlerAPIExceptionComplexObsHandler.saveObs(org.openmrs.Obs)
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||