Interface LanguageFacade
-
- All Known Implementing Classes:
DefaultCatalogVersionCentricLanguageFacade,DefaultLanguageFacade
public interface LanguageFacadeLanguage facade interface which deals with methods related to language operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<LanguageData>getLanguages()Get all languages for the current active site.
-
-
-
Method Detail
-
getLanguages
java.util.List<LanguageData> getLanguages()
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" ]- Parameters:
siteId- the current cmsSite-id.- Returns:
- list of languages.
-
-