Class CommonApplicationMappingFactory
java.lang.Object
com.orchestranetworks.addon.dex.common.CommonApplicationMappingFactory
Provides the methods to get a
CommonApplication.- Since:
- 2.6.3
-
Method Summary
Modifier and TypeMethodDescriptioncreateCommonApplication(String logicalName, ApplicationType applicationType) Creates an instance ofCommonApplicationwith the specific logical name andApplicationType.getCommonApplication(com.orchestranetworks.instance.Repository repository, String universalName, ApplicationType applicationType) Returns an instance ofCommonApplicationwith a specific universal name andApplicationType.getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, Locale locale) Returns an instance ofCommonApplicationfor EBX® application.Returns an instance ofCommonApplicationMappingFactory.
-
Method Details
-
getInstance
Returns an instance ofCommonApplicationMappingFactory. -
getEBXCommonApplication
public CommonApplication getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, Locale locale) throws DataExchangeException Returns an instance ofCommonApplicationfor 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, String universalName, ApplicationType applicationType) throws DataExchangeException Returns an instance ofCommonApplicationwith 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(String logicalName, ApplicationType applicationType) Creates an instance ofCommonApplicationwith the specific logical name andApplicationType.- Parameters:
logicalName- the logical name declared in the Application table in the {addon.label} dataset.applicationType- the application type.
-