public interface LanguageAgent
Examples:
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.getLanguages()
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.getMasterLanguage()
Modifier and Type | Field and Description |
---|---|
static SpecialistType<LanguageAgent> |
TYPE
The agent's technical type to be used for requesting the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
List<Language> |
getEditorialLanguages()
Provides access to the languages marked as editorial languages, i.e, those languages used to edit the element's display names.
|
List<Language> |
getLanguages()
Provide access to available persistency languages.
|
Language |
getMasterLanguage()
Provides the persistency language used as master.
|
Language |
getMetaLanguage()
Provide the language being used for meta data representation.
|
Map<String,Language> |
getProjectLanguages(boolean includeFallback)
Provide access to available persistency languages, mapping abbreviations to the respective language definition.
|
List<Language> |
getVisibleLanguages()
Provides access to languages defined to be visible for the current user.
|
static final SpecialistType<LanguageAgent> TYPE
SpecialistsBroker
.Language getMasterLanguage()
@NotNull Language getMetaLanguage()
List<Language> getLanguages()
List<Language> getVisibleLanguages()
List<Language> getEditorialLanguages()
Map<String,Language> getProjectLanguages(boolean includeFallback)
includeFallback
- If true
, the Fallback-Language
is included in the resulting map.abbreviation
.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408