public class DataExporterImpl extends Object implements DataExporter
Modifier and Type | Field and Description |
---|---|
protected DataService |
dataService
Exporter data service.
|
Messages |
messages |
Constructor and Description |
---|
DataExporterImpl() |
Modifier and Type | Method and Description |
---|---|
String |
exportData(Component parentFrame,
Module module,
int fromSessionIndex,
DataExporterError exporterError)
Exports data out of the application.
|
boolean |
getAutoExport() |
DataService |
getDataService() |
String |
getExporterName()
Gets the exporter name
|
Long |
getId() |
boolean |
getIncrementalExport() |
boolean |
isAutoExport()
Gets the auto export property
|
boolean |
isIncrementalExport()
Gets the incremental export property
|
void |
setAutoExport(boolean autoExport)
Sets the auto export property which gets triggered when a Module execution finishes
|
void |
setDataService(DataService dataService) |
void |
setId(Long id) |
void |
setIncrementalExport(boolean incrementalExport)
Sets the incremental export property
|
void |
setMessages(Messages messages)
Set the messages object to be used for i18n
|
protected DataService dataService
public Messages messages
public String exportData(Component parentFrame, Module module, int fromSessionIndex, DataExporterError exporterError)
DataExporter
exportData
in interface DataExporter
fromSessionIndex
- the first session index to export from. -1 for all sessionspublic boolean isAutoExport()
DataExporter
isAutoExport
in interface DataExporter
public boolean getAutoExport()
public boolean isIncrementalExport()
DataExporter
isIncrementalExport
in interface DataExporter
public boolean getIncrementalExport()
public void setAutoExport(boolean autoExport)
DataExporter
setAutoExport
in interface DataExporter
public void setIncrementalExport(boolean incrementalExport)
DataExporter
setIncrementalExport
in interface DataExporter
public DataService getDataService()
getDataService
in interface DataExporter
public void setDataService(DataService dataService)
setDataService
in interface DataExporter
public Long getId()
public void setId(Long id)
public String getExporterName()
DataExporter
getExporterName
in interface DataExporter
public void setMessages(Messages messages)
DataExporter
setMessages
in interface DataExporter
Copyright © 2013. All Rights Reserved.