Class EntityExportServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.action.export.EntityExportServiceImpl
- All Implemented Interfaces:
EntityExportService
-
Constructor Summary
ConstructorsConstructorDescriptionEntityExportServiceImpl(PersistenceService persistenceService, TemplateEngine templateEngine) -
Method Summary
Modifier and TypeMethodDescriptionvoidexportData(QueryConfigurator queryConfigurator, ExportActionConfig config, ExportDataConsumer dataConsumer) Fetches the data to be exported in an efficient way using aPathQueryBuilderand passes them on to theExportDataConsumer.
-
Constructor Details
-
EntityExportServiceImpl
public EntityExportServiceImpl(PersistenceService persistenceService, TemplateEngine templateEngine)
-
-
Method Details
-
exportData
public void exportData(QueryConfigurator queryConfigurator, ExportActionConfig config, ExportDataConsumer dataConsumer) Description copied from interface:EntityExportServiceFetches the data to be exported in an efficient way using aPathQueryBuilderand passes them on to theExportDataConsumer. If big amounts of data are exported, the data is fetched in partitions. The data can be converted to anOutputStreamusing an implementation ofEntityExportWriter.- Specified by:
exportDatain interfaceEntityExportService
-