@Deprecated public class DataExportUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataExportUtil.VelocityExceptionHandler
Deprecated.
Private class used for velocity error masking
|
Constructor and Description |
---|
DataExportUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
generateExport(DataExportReportObject dataExport,
Cohort patientSet,
DataExportFunctions functions,
EvaluationContext context)
Deprecated.
Auto generated method comment
|
static void |
generateExport(DataExportReportObject dataExport,
Cohort patientSet,
EvaluationContext context)
Deprecated.
|
static void |
generateExport(DataExportReportObject dataExport,
Cohort patientSet,
String separator,
EvaluationContext context)
Deprecated.
Generates a data export file given a data export (columns) and patient set (rows).
|
static void |
generateExports(List<DataExportReportObject> exports,
EvaluationContext context)
Deprecated.
|
static Object |
getDataExportKey(String key)
Deprecated.
Find the data export key previously added or null if not found
|
static File |
getGeneratedFile(DataExportReportObject dataExport)
Deprecated.
Returns the path and name of the generated file
|
static void |
putDataExportKey(String key,
Object obj)
Deprecated.
Allows a module or some other service to add things to the available keys in the velocity
context
|
static void |
removeDataExportKey(String key)
Deprecated.
Remove the given key from the available data export keys If the key doesn't exist, this will
fail silently
|
public static void putDataExportKey(String key, Object obj)
public static void removeDataExportKey(String key)
key
- key to removeputDataExportKey(String, Object)
,
generateExport(DataExportReportObject, Cohort, DataExportFunctions, EvaluationContext)
public static Object getDataExportKey(String key)
key
- putDataExportKey(String, Object)
,
generateExport(DataExportReportObject, Cohort, DataExportFunctions, EvaluationContext)
public static void generateExports(List<DataExportReportObject> exports, EvaluationContext context)
exports
- public static void generateExport(DataExportReportObject dataExport, Cohort patientSet, String separator, EvaluationContext context) throws Exception
dataExport
- patientSet
- separator
- Exception
public static void generateExport(DataExportReportObject dataExport, Cohort patientSet, EvaluationContext context) throws Exception
dataExport
- patientSet
- Exception
public static void generateExport(DataExportReportObject dataExport, Cohort patientSet, DataExportFunctions functions, EvaluationContext context) throws Exception
dataExport
- patientSet
- functions
- context
- Exception
public static File getGeneratedFile(DataExportReportObject dataExport)
dataExport
- Copyright © 2018 OpenMRS LLC.. All Rights Reserved.