public final class CommonApplicationMappingFactory extends Object
CommonApplication
.Modifier and Type | Method and Description |
---|---|
CommonApplication |
createCommonApplication(String logicalName,
ApplicationType applicationType)
Creates an instance of
CommonApplication with the specific logical name and ApplicationType . |
CommonApplication |
getCommonApplication(com.orchestranetworks.instance.Repository repository,
String universalName,
ApplicationType applicationType)
Returns an instance of
CommonApplication with a specific universal name and ApplicationType . |
CommonApplication |
getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset,
Locale locale)
Returns an instance of
CommonApplication for EBX® application. |
static CommonApplicationMappingFactory |
getInstance()
Returns an instance of
CommonApplicationMappingFactory . |
public static CommonApplicationMappingFactory getInstance()
CommonApplicationMappingFactory
.public CommonApplication getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, Locale locale) throws DataExchangeException
CommonApplication
for EBX® application.dataset
- the current dataset.locale
- the current locale.DataExchangeException
- when the input parameters do not permit the retrieval of a consistent configuration.public CommonApplication getCommonApplication(com.orchestranetworks.instance.Repository repository, String universalName, ApplicationType applicationType) throws DataExchangeException
CommonApplication
with a specific universal name and ApplicationType
.repository
- the current repository.universalName
- the universal name declared in the Application table in the {addon.label} dataset.applicationType
- the application type.DataExchangeException
- when there is no application with a specific name or more than one application with a specified name.public CommonApplication createCommonApplication(String logicalName, ApplicationType applicationType)
CommonApplication
with the specific logical name and ApplicationType
.logicalName
- the logical name declared in the Application table in the {addon.label} dataset.applicationType
- the application type.