Interface VersionedLanguageService

All Superinterfaces:
LanguageService

public interface VersionedLanguageService extends LanguageService
Service that provides a Language given a name, and information about the language.
  • Method Details

    • getLanguage

      Language getLanguage(LanguageID languageID, int version) throws LanguageNotFoundException
      Returns a specific language version with the given language ID. This form should only be used when handling language upgrade concerns.
      Parameters:
      languageID - the ID of language to retrieve.
      version - major version
      Throws:
      LanguageNotFoundException - if the specified language version can not be found for the given ID.
    • getLanguageDescription

      LanguageDescription getLanguageDescription(LanguageID languageID, int version) throws LanguageNotFoundException
      Get language information for a specific version of the given language ID. This form should only be used when handling language upgrade concerns.
      Parameters:
      languageID - the id for the language.
      Returns:
      language information for the given language ID.
      Throws:
      LanguageNotFoundException - if there is no language for the given ID.