Interface ILanguageDefinitionsProvider


public interface ILanguageDefinitionsProvider
Provider of ILanguageDefinitions.
Since:
3.6.1
See Also:
  • Method Details

    • getDefaultLanguageDefinition

      ILanguageDefinition getDefaultLanguageDefinition()
      Returns language definition for default language (mainly for providing its label).
      Returns:
      language definition or null if not defined
    • getLanguageDefinitions

      Collection<ILanguageDefinition> getLanguageDefinitions()
      Returns all language definitions (does not include default language definition).
      Returns:
      all language definitions (never null)
    • getLanguageDefinition

      ILanguageDefinition getLanguageDefinition(String language)
      Returns language definition for given language.
      Parameters:
      language - language id (not null)
      Returns:
      language definition or null if not defined
    • isGlobal

      boolean isGlobal()
      Returns if definition is from global level.
      Returns:
      definition is from global level
      Since:
      3.6.2