|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LanguageAgent
Definition for an agent offering information about project persistency languages. These are the languages defined within a project to be used by editors creating content. This agent is focused on a specific project.
Examples:
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.LanguageAgent.getLanguages()
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.LanguageAgent.getMasterLanguage()
Field Summary | |
---|---|
static SpecialistType<LanguageAgent> |
TYPE
The agent's technical type to be used for requesting the agent from a SpecialistsBroker . |
Method Summary | |
---|---|
List<Language> |
getLanguages()
Provide access to available persistency languages. |
Language |
getMasterLanguage()
Provides the persistency language used as master. |
Map<String,Language> |
getProjectLanguages(boolean includeFallback)
Provide access to available persistency languages, mapping abbreviations to the respective language definition. |
Field Detail |
---|
static final SpecialistType<LanguageAgent> TYPE
SpecialistsBroker
.
Method Detail |
---|
Language getMasterLanguage()
List<Language> getLanguages()
Map<String,Language> getProjectLanguages(boolean includeFallback)
includeFallback
- If true
, the Fallback-Language
is included in the resulting map.
abbreviation
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |