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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataExchangeResult
execute(DataExchangeExportTableSpec exportSpec)
Returns the export result with the prepared list of each table's records or table filter.DataExchangeResult
execute(DataExchangeSpec spec)
Returns the result of the import, export or transfer.
-
-
-
Method Detail
-
execute
DataExchangeResult execute(DataExchangeSpec spec) throws DataExchangeException
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
DataExchangeResult execute(DataExchangeExportTableSpec exportSpec) throws DataExchangeException
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
-
-