Package com.aquima.web.api.service
Class LanguageService
- java.lang.Object
-
- com.aquima.web.api.service.LanguageService
-
@Service public class LanguageService extends Object
- Since:
- 11.0
- Author:
- Mihai Bob
-
-
Constructor Summary
Constructors Constructor Description LanguageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Language>
getAvailable(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
-
-
-
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 nulllanguageCode
- - the language code that will be set.
-
-