Interface ILanguageDefinition


public interface ILanguageDefinition
Language definition.
Since:
3.6.1
See Also:
  • Method Details

    • getId

      String getId()
      Returns:
      language id or null for default language's definition
    • getLabel

      String getLabel()
      Returns:
      language label or null if not defined
    • setLabel

      void setLabel(String label)
      Since:
      3.6.2
    • getWorkItemTitleField

      String getWorkItemTitleField(ITypeOpt type)
      Returns id of the field of Work Item of given type which stores localized title.
      Parameters:
      type - Work Item type (not null)
      Returns:
      id of the field or null if not defined
    • getWorkItemDescriptionField

      String getWorkItemDescriptionField(ITypeOpt type)
      Returns id of the field of Work Item of given type which stores localized description.
      Parameters:
      type - Work Item type (not null)
      Returns:
      id of the field or null if not defined
    • getTypeDefinitions

      Map<String,com.polarion.alm.tracker.internal.LanguagesConfiguration.Type> getTypeDefinitions()
      Returns type definitions.
      Returns:
      all type definitions or null if not defined
      Since:
      3.6.2
    • setTypeDefinitions

      void setTypeDefinitions(Map<String,com.polarion.alm.tracker.internal.LanguagesConfiguration.Type> typeDefinitions)
      Since:
      3.6.2
    • setDefaultTypeDefinition

      void setDefaultTypeDefinition(com.polarion.alm.tracker.internal.LanguagesConfiguration.Type definition)
      Since:
      3.6.2