Changeset 1851
- Timestamp:
- 06/05/07 05:15:06 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/reporting/src/api/org/openmrs/reporting/export/DataExportUtil.java
r1692 r1851 37 37 } 38 38 39 40 /** 41 * Generates a data export file given a data export (columns) and patient set (rows). 42 * 43 * @param dataExport 44 * @param patientSet 45 * @param separator 46 * @throws Exception 47 */ 48 public static void generateExport(DataExportReportObject dataExport, PatientSet patientSet, String separator) throws Exception { 49 // Set up functions used in the report ( $!{fn:...} ) 50 DataExportFunctions functions = new DataExportFunctions(); 51 functions.setSeparator(separator); 52 generateExport(dataExport, patientSet, functions); 53 } 54 39 55 /** 40 56 * … … 48 64 generateExport(dataExport, patientSet, functions); 49 65 } 50 51 52 /**53 *54 * @param dataExport55 * @param patientSet56 * @param separator57 * @throws Exception58 */59 public static void generateExport(DataExportReportObject dataExport, PatientSet patientSet, String separator) throws Exception {60 DataExportFunctions functions = new DataExportFunctions();61 functions.setSeparator(separator);62 generateExport(dataExport, patientSet, functions);63 }64 65 66 66 67 /**