Package com.orchestranetworks.addon.dex
Interface DataExchangeService
public interface DataExchangeService
Provides a method for executing data import, export and transfer.
- Since:
- 2.3.0
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(DataExchangeExportTableSpec exportSpec) Returns the export result with the prepared list of each table's records or table filter.execute
(DataExchangeSpec spec) Returns the result of the import, export or transfer.
-
Method Details
-
execute
Returns the result of the import, export or transfer. The return type must be cast into one of the following: (DataExchangeResult.XMLImport
,DataExchangeResult.SQLImport
,DataExchangeResult.SpreadsheetImport
,DataExchangeResult.CSVImport
,DataExchangeResult.XMLExport
,DataExchangeResult.SQLExport
,DataExchangeResult.SpreadsheetExport
,DataExchangeResult.CSVExport
,DataExchangeResult.Transfer
).- Parameters:
spec
- {addon.label} specification which stores the configuration specification (ConfigurationSpec
) and the mapping specification (ApplicationMapping
).- Throws:
DataExchangeException
-
execute
Returns the export result with the prepared list of each table's records or table filter. The return type must be cast into one of the following: (DataExchangeResult.XMLExport
,DataExchangeResult.SpreadsheetExport
,DataExchangeResult.CSVExport
).- Parameters:
exportSpec
- {addon.label} Export specification which stores the {addon.label} specification (DataExchangeExportTableSpec
) and the prepared list of each table's records or table filter.- Throws:
DataExchangeException
- Since:
- 2.5.0
-