Class ApplicationInterfaceConfigurationFactory
- java.lang.Object
-
- com.orchestranetworks.addon.dex.common.ApplicationInterfaceConfigurationFactory
-
public final class ApplicationInterfaceConfigurationFactory extends java.lang.Object
Provides the methods to get aPrimaryKey
set that identifies records in the Application interface preference table located in the {addon.label} dataset.- Since:
- 2.7.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationInterfaceConfigurationFactory
getInstance()
Returns an instance ofApplicationInterfaceConfigurationFactory
.java.util.Set<com.onwbp.adaptation.PrimaryKey>
getPrimaryKeysByCode(com.orchestranetworks.instance.Repository repository, java.util.Set<java.lang.String> codes)
Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified codes.java.util.Set<com.onwbp.adaptation.PrimaryKey>
getPrimaryKeysByName(com.orchestranetworks.instance.Repository repository, java.util.Set<java.lang.String> names)
Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified names.
-
-
-
Method Detail
-
getInstance
public static ApplicationInterfaceConfigurationFactory getInstance()
Returns an instance ofApplicationInterfaceConfigurationFactory
.
-
getPrimaryKeysByCode
public java.util.Set<com.onwbp.adaptation.PrimaryKey> getPrimaryKeysByCode(com.orchestranetworks.instance.Repository repository, java.util.Set<java.lang.String> codes) throws DataExchangeException
Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified codes.- Parameters:
repository
- the current repository.codes
- the values of the Code field declared in the Application interface preference table in the {addon.label} dataset.- Throws:
DataExchangeException
- when the {addon.label} dataset cannot be found in the current repository.
-
getPrimaryKeysByName
public java.util.Set<com.onwbp.adaptation.PrimaryKey> getPrimaryKeysByName(com.orchestranetworks.instance.Repository repository, java.util.Set<java.lang.String> names) throws DataExchangeException
Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified names.- Parameters:
repository
- the current repository.names
- the values of the Name field declared in the Application interface preference table in the {addon.label} dataset.- Throws:
DataExchangeException
- when the {addon.label} dataset cannot be found in the current repository.
-
-