Package com.orchestranetworks.addon.dex
Interface DataExchangeHelper
-
public interface DataExchangeHelperProvides 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 DataExchangeSpecgetDataExchangeSpec(DataExchangeHelperContext context)Returns an instance ofcom.orchestranetworks.addon.dex.DataExchangeSpecbased on the configuration declared in the {addon.label} dataset.DataExchangeSpectransform(AdixExportSpec spec)Returns thecom.orchestranetworks.addon.dex.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.adix.AdixExportSpecobject.DataExchangeSpectransform(AdixImportSpec spec)Returns thecom.orchestranetworks.addon.dex.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.adix.AdixImportSpecobject.DataExchangeSpectransform(DataExchangeSpec spec)Returns thecom.orchestranetworks.addon.dex.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.dataexchange.DataExchangeSpecobject.
-
-
-
Method Detail
-
transform
DataExchangeSpec transform(AdixImportSpec spec) throws DataExchangeException
Returns thecom.orchestranetworks.addon.dex.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.adix.AdixImportSpecobject.- 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.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.adix.AdixExportSpecobject.- 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.DataExchangeSpecobject when transforming old specifications from acom.orchestranetworks.addon.dataexchange.DataExchangeSpecobject.- 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.DataExchangeSpecbased 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
-
-