Class CommonApplicationMappingFactory
- java.lang.Object
-
- com.orchestranetworks.addon.dex.common.CommonApplicationMappingFactory
-
public final class CommonApplicationMappingFactory extends java.lang.Object
Provides the methods to get aCommonApplication
.- Since:
- 2.6.3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonApplication
createCommonApplication(java.lang.String logicalName, ApplicationType applicationType)
Creates an instance ofCommonApplication
with the specific logical name andApplicationType
.CommonApplication
getCommonApplication(com.orchestranetworks.instance.Repository repository, java.lang.String universalName, ApplicationType applicationType)
Returns an instance ofCommonApplication
with a specific universal name andApplicationType
.CommonApplication
getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, java.util.Locale locale)
Returns an instance ofCommonApplication
for EBX® application.static CommonApplicationMappingFactory
getInstance()
Returns an instance ofCommonApplicationMappingFactory
.
-
-
-
Method Detail
-
getInstance
public static CommonApplicationMappingFactory getInstance()
Returns an instance ofCommonApplicationMappingFactory
.
-
getEBXCommonApplication
public CommonApplication getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, java.util.Locale locale) throws DataExchangeException
Returns an instance ofCommonApplication
for EBX® application.- Parameters:
dataset
- the current dataset.locale
- the current locale.- Throws:
DataExchangeException
- when the input parameters do not permit the retrieval of a consistent configuration.
-
getCommonApplication
public CommonApplication getCommonApplication(com.orchestranetworks.instance.Repository repository, java.lang.String universalName, ApplicationType applicationType) throws DataExchangeException
Returns an instance ofCommonApplication
with a specific universal name andApplicationType
.- Parameters:
repository
- the current repository.universalName
- the universal name declared in the Application table in the {addon.label} dataset.applicationType
- the application type.- Throws:
DataExchangeException
- when there is no application with a specific name or more than one application with a specified name.
-
createCommonApplication
public CommonApplication createCommonApplication(java.lang.String logicalName, ApplicationType applicationType)
Creates an instance ofCommonApplication
with the specific logical name andApplicationType
.- Parameters:
logicalName
- the logical name declared in the Application table in the {addon.label} dataset.applicationType
- the application type.
-
-