Package com.aquima.web.api.service
Class LanguageService
java.lang.Object
com.aquima.web.api.service.LanguageService
- Since:
- 11.0
- Author:
- Mihai Bob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAvailable
(com.blueriq.component.api.IAquimaSession session) Returns the available languages for the currently activated project.void
setNewLanguage
(com.blueriq.component.api.IAquimaSession session, String languageCode) Set the language for the current session
-
Constructor Details
-
Method Details
-
getAvailable
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
Set the language for the current session- Parameters:
session
- - the Aquima session, cannot be nulllanguageCode
- - the language code that will be set.
-