Interface LanguageFacade
- All Known Implementing Classes:
DefaultCatalogVersionCentricLanguageFacade,DefaultLanguageFacade
public interface LanguageFacade
Language facade interface which deals with methods related to language operations.
-
Method Summary
Modifier and TypeMethodDescriptionGet all languages for the current active site.
-
Method Details
-
getLanguages
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.
-