Search in sources :

Example 1 with StreamingJsonCompleteDataSetRegistrations

use of org.hisp.dhis.dxf2.dataset.streaming.StreamingJsonCompleteDataSetRegistrations in project dhis2-core by dhis2.

the class JdbcCompleteDataSetRegistrationExchangeStore method writeCompleteDataSetRegistrationsJson.

@Override
public void writeCompleteDataSetRegistrationsJson(ExportParams params, OutputStream outputStream) {
    CompleteDataSetRegistrations cdsr = new StreamingJsonCompleteDataSetRegistrations(outputStream);
    write(params, cdsr);
    IOUtils.closeQuietly(outputStream);
}
Also used : StreamingJsonCompleteDataSetRegistrations(org.hisp.dhis.dxf2.dataset.streaming.StreamingJsonCompleteDataSetRegistrations) StreamingXmlCompleteDataSetRegistrations(org.hisp.dhis.dxf2.dataset.streaming.StreamingXmlCompleteDataSetRegistrations) StreamingJsonCompleteDataSetRegistrations(org.hisp.dhis.dxf2.dataset.streaming.StreamingJsonCompleteDataSetRegistrations)

Aggregations

StreamingJsonCompleteDataSetRegistrations (org.hisp.dhis.dxf2.dataset.streaming.StreamingJsonCompleteDataSetRegistrations)1 StreamingXmlCompleteDataSetRegistrations (org.hisp.dhis.dxf2.dataset.streaming.StreamingXmlCompleteDataSetRegistrations)1