Interface LocalizationStorage
- All Known Implementing Classes:
HeapBasedLocalizationStorage
public interface LocalizationStorage
Localization storage.
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedText(List<String> references, BigInteger version, List<String> languages) Gets a localized text that is referenced in the MDIB.Gets a list of all supported languages.
-
Method Details
-
getSupportedLanguages
Gets a list of all supported languages.- Returns:
- a list of supported language identifiers.
-
getLocalizedText
List<LocalizedText> getLocalizedText(List<String> references, @Nullable BigInteger version, List<String> languages) Gets a localized text that is referenced in the MDIB.- Parameters:
references- a zero or more reference names of the texts that are requested. If empty list is provided localized texts are not filtered by reference.version- of the referenced text that is requested. The latest version is used if parameter is null.languages- a zero or more language identifiers to get different translations of the requested text. If empty list is provided localized texts are not filtered by language.- Returns:
- a list of
LocalizedTexttexts that matches search criteria.
-