Class LanguageService


  • @Service
    public class LanguageService
    extends Object
    Since:
    11.0
    Author:
    Mihai Bob
    • Constructor Detail

      • LanguageService

        public LanguageService()
    • Method Detail

      • getAvailable

        public List<Language> getAvailable​(com.blueriq.component.api.IAquimaSession session)
        Returns the available languages for the currently activated project.
        Parameters:
        session - - the Aquima session, cannot be null
        Returns:
        List of available languages. Never null
      • setNewLanguage

        public void setNewLanguage​(com.blueriq.component.api.IAquimaSession session,
                                   String languageCode)
        Set the language for the current session
        Parameters:
        session - - the Aquima session, cannot be null
        languageCode - - the language code that will be set.