Class ApplicationInterfaceConfigurationFactory
java.lang.Object
com.orchestranetworks.addon.dex.common.ApplicationInterfaceConfigurationFactory
Provides the methods to get a
PrimaryKey
set that identifies records in the Application interface preference table located in the {addon.label} dataset.- Since:
- 2.7.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance ofApplicationInterfaceConfigurationFactory
.Set<com.onwbp.adaptation.PrimaryKey>
getPrimaryKeysByCode
(com.orchestranetworks.instance.Repository repository, Set<String> codes) Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified codes.Set<com.onwbp.adaptation.PrimaryKey>
getPrimaryKeysByName
(com.orchestranetworks.instance.Repository repository, Set<String> names) Returns aPrimaryKey
set that identifies records in the Application interface preference table based on the specified names.
-
Method Details
-
getInstance
Returns an instance ofApplicationInterfaceConfigurationFactory
. -
getPrimaryKeysByCode
public Set<com.onwbp.adaptation.PrimaryKey> getPrimaryKeysByCode(com.orchestranetworks.instance.Repository repository, Set<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 Set<com.onwbp.adaptation.PrimaryKey> getPrimaryKeysByName(com.orchestranetworks.instance.Repository repository, Set<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.
-