Class DefaultLanguageFacade

    • Constructor Detail

      • DefaultLanguageFacade

        public DefaultLanguageFacade()
    • Method Detail

      • getLanguages

        public java.util.List<LanguageData> getLanguages()
        Description copied from interface: LanguageFacade
        Get all languages for the current active site. The languages are ordered starting with the default language.
        For example: Given a site supports [ "EN", "DE", "JP", "IT" ] and German is the default language, the resulted list would be ordered: [ "DE", "EN", "JP", "IT" ]
        Specified by:
        getLanguages in interface LanguageFacade
        Returns:
        list of languages.
      • convertLocalToIsoCodes

        @Deprecated
        protected void convertLocalToIsoCodes​(java.util.List<LanguageData> languageDataList)
        Deprecated.
        since 1808, the conversion should be made on a frontend side.
        Converts a languageData.isocode to hybris format (i.e. de-CH)
        Parameters:
        languageDataList - List of language Data
      • setStoreSessionFacade

        public void setStoreSessionFacade​(StoreSessionFacade storeSessionFacade)
      • getCommonI18NService

        @Deprecated
        protected CommonI18NService getCommonI18NService()
        Deprecated.
        since 1808
      • setCommonI18NService

        @Deprecated
        public void setCommonI18NService​(CommonI18NService commonI18NService)
        Deprecated.
        since 1808