Class DefaultLanguageFacade
- java.lang.Object
-
- de.hybris.platform.cmsfacades.languages.impl.DefaultLanguageFacade
-
- All Implemented Interfaces:
LanguageFacade
public class DefaultLanguageFacade extends java.lang.Object implements LanguageFacade
Default implementation ofLanguageFacade.
-
-
Constructor Summary
Constructors Constructor Description DefaultLanguageFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidconvertLocalToIsoCodes(java.util.List<LanguageData> languageDataList)Deprecated.since 1808, the conversion should be made on a frontend side.protected CommonI18NServicegetCommonI18NService()Deprecated.since 1808java.util.List<LanguageData>getLanguages()Get all languages for the current active site.protected StoreSessionFacadegetStoreSessionFacade()voidsetCommonI18NService(CommonI18NService commonI18NService)Deprecated.since 1808voidsetStoreSessionFacade(StoreSessionFacade storeSessionFacade)
-
-
-
Method Detail
-
getLanguages
public java.util.List<LanguageData> getLanguages()
Description copied from interface:LanguageFacadeGet 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:
getLanguagesin interfaceLanguageFacade- 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
-
getStoreSessionFacade
protected StoreSessionFacade getStoreSessionFacade()
-
setStoreSessionFacade
public void setStoreSessionFacade(StoreSessionFacade storeSessionFacade)
-
getCommonI18NService
@Deprecated protected CommonI18NService getCommonI18NService()
Deprecated.since 1808
-
setCommonI18NService
@Deprecated public void setCommonI18NService(CommonI18NService commonI18NService)
Deprecated.since 1808
-
-