Package com.orchestranetworks.addon.dex
Interface DataExchangeHelper
-
public interface DataExchangeHelper
Provides the methods to transform old specifications to new specifications.- Since:
- 2.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataExchangeSpec
getDataExchangeSpec(DataExchangeHelperContext context)
Returns an instance ofcom.orchestranetworks.addon.dex.DataExchangeSpec
based on the configuration declared in the {addon.label} dataset.DataExchangeSpec
transform(AdixExportSpec spec)
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.adix.AdixExportSpec
object.DataExchangeSpec
transform(AdixImportSpec spec)
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.adix.AdixImportSpec
object.DataExchangeSpec
transform(DataExchangeSpec spec)
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.dataexchange.DataExchangeSpec
object.
-
-
-
Method Detail
-
transform
DataExchangeSpec transform(AdixImportSpec spec) throws DataExchangeException
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.adix.AdixImportSpec
object.- Parameters:
spec
- specification for an Adix import in the old version used for Excel and CSV import.- Throws:
DataExchangeException
-
transform
DataExchangeSpec transform(AdixExportSpec spec) throws DataExchangeException
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.adix.AdixExportSpec
object.- Parameters:
spec
- specification for an Adix export in the old version used for Excel and CSV export.- Throws:
DataExchangeException
-
transform
DataExchangeSpec transform(DataExchangeSpec spec) throws DataExchangeException
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpec
object when transforming old specifications from acom.orchestranetworks.addon.dataexchange.DataExchangeSpec
object.- Parameters:
spec
- {addon.label} specification in the old version used to import, export and transfer XML and SQL.- Throws:
DataExchangeException
-
getDataExchangeSpec
DataExchangeSpec getDataExchangeSpec(DataExchangeHelperContext context) throws DataExchangeException
Returns an instance ofcom.orchestranetworks.addon.dex.DataExchangeSpec
based on the configuration declared in the {addon.label} dataset.- Parameters:
context
- the context to get the {addon.label} specification declared in the {addon.label} dataset.- Throws:
DataExchangeException
- Since:
- 2.7.0
- See Also:
DataExchangeHelperContext
-
-