Package com.orchestranetworks.addon.dex.common
Provides the classes and interfaces used to supply a context for integrating EBX Data Exchange Add-on services.
Creating a context for the data transfer service
-
Define the EBX Data Exchange Add-on context:
DataExchangeServiceContext dexServiceContext = DataExchangeServiceContextFactory.getInstance().getDataExchangeServiceContext(serviceContext);
-
Use the EBX Data Exchange Add-on context in data transfer:
TransferConfigurationSpec configSpec = new TransferConfigurationSpec(dexServiceContext);
Creating and getting a common application for the API, which automatically generates all mapping for the Excel/CSV Import/Export services
-
Create an instance of
CommonApplication
by the logical name declared in the Application table in the EBX Data Exchange Add-on dataset and application type:CommonApplication commonApplication = CommonApplicationMappingFactory.getInstance().createCommonApplication(logicalName, ApplicationType.CSV);
-
Get an instance of
CommonApplication
by the universal name declared in the Application table in the EBX Data Exchange Add-on dataset and application type:CommonApplication commonApplication = CommonApplicationMappingFactory.getInstance().getCommonApplication(repository, universalName, ApplicationType.CSV);
-
Get an instance of
CommonApplication
for an EBX® application:CommonApplication ebxCommonApplication = CommonApplicationMappingFactory.getInstance().getEBXCommonApplication(currentDataset, locale);
Getting a PrimaryKey
set that identifies records in the Application interface preference table located in the EBX Data Exchange Add-on dataset, which is used to export the selected records in the Application interface preference table and the related data from other tables to an XML file.
-
To get a
PrimaryKey
set by the specified codes declared in the Application interface preference table in EBX Data Exchange Add-on dataset:Set<PrimaryKey> primaryKeys=ApplicationInterfaceConfigurationFactory.getInstance().getPrimaryKeysByCode(repository, codes);
-
To get a set of
PrimaryKey
by the specified names declared in the Application interface preference table in EBX Data Exchange Add-on dataset:Set<PrimaryKey> primaryKeys=ApplicationInterfaceConfigurationFactory.getInstance().getPrimaryKeysByName(repository, names)
-
ClassDescriptionProvides the methods to get a
PrimaryKey
set that identifies records in the Application interface preference table located in the EBX Data Exchange Add-on dataset.Provides the methods to get aCommonApplication
.Provides the necessary context for integrating EBX Data Exchange Add-on services.Creates instances ofDataExchangeServiceContext
.Specifies the primary key of an EBX® record.Specifies primary key of a record.