Skip navigation links

Package com.orchestranetworks.addon.dex.common

Provides the classes and interfaces used to supply a context for integrating {addon.label} services.

See: Description

Package com.orchestranetworks.addon.dex.common Description

Provides the classes and interfaces used to supply a context for integrating {addon.label} services.


Creating a context for the data transfer service

  1. Define the {addon.label} context:

            DataExchangeServiceContext dexServiceContext = DataExchangeServiceContextFactory.getInstance().getDataExchangeServiceContext(serviceContext);
    
  2. Use the {addon.label} 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

  1. Create an instance of CommonApplication by the logical name declared in the Application table in the {addon.label} dataset and application type:

            CommonApplication commonApplication = CommonApplicationMappingFactory.getInstance().createCommonApplication(logicalName, ApplicationType.CSV);
    
  2. Get an instance of CommonApplication by the universal name declared in the Application table in the {addon.label} dataset and application type:

            CommonApplication commonApplication = CommonApplicationMappingFactory.getInstance().getCommonApplication(repository, universalName, ApplicationType.CSV);
    
  3. 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 {addon.label} 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.

  1. To get a PrimaryKey set by the specified codes declared in the Application interface preference table in {addon.label} dataset:

            
            Set<PrimaryKey> primaryKeys=ApplicationInterfaceConfigurationFactory.getInstance().getPrimaryKeysByCode(repository, codes);
    
  2. To get a set of PrimaryKey by the specified names declared in the Application interface preference table in {addon.label} dataset:

            
            Set<PrimaryKey> primaryKeys=ApplicationInterfaceConfigurationFactory.getInstance().getPrimaryKeysByName(repository, names)
    
Skip navigation links

Add-ons Version 4.5.22.

Copyright 2001-2025. Cloud Software Group, Inc. All rights reserved.
All third party product and company names and third party marks mentioned in this document are the property of their respective owners and are mentioned for identification.