Class CommonApplicationMappingFactory


  • public final class CommonApplicationMappingFactory
    extends java.lang.Object
    Provides the methods to get a CommonApplication.
    Since:
    2.6.3
    • Method Detail

      • getEBXCommonApplication

        public CommonApplication getEBXCommonApplication​(com.onwbp.adaptation.Adaptation dataset,
                                                         java.util.Locale locale)
                                                  throws DataExchangeException
        Returns an instance of CommonApplication 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 of CommonApplication with a specific universal name and ApplicationType.
        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 of CommonApplication with the specific logical name and ApplicationType.
        Parameters:
        logicalName - the logical name declared in the Application table in the {addon.label} dataset.
        applicationType - the application type.