Interface TmaContextInformationLoader
-
- All Known Implementing Classes:
TmaDefaultContextInformationLoader
public interface TmaContextInformationLoaderInterface for context information loader- Since:
- 1810
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CurrencyModelsetCurrencyFromRequest(javax.servlet.http.HttpServletRequest request)Method set current currency based on information from requestLanguageModelsetLanguageFromRequest(javax.servlet.http.HttpServletRequest request)Method set current language base on information from request
-
-
-
Method Detail
-
setLanguageFromRequest
LanguageModel setLanguageFromRequest(javax.servlet.http.HttpServletRequest request) throws TmaUnsupportedLanguageException
Method set current language base on information from request- Parameters:
request- - request from which we should get language information- Returns:
- language set as current
- Throws:
TmaUnsupportedLanguageException
-
setCurrencyFromRequest
CurrencyModel setCurrencyFromRequest(javax.servlet.http.HttpServletRequest request) throws TmaUnsupportedCurrencyException
Method set current currency based on information from request- Parameters:
request- - request from which we should get currency information- Returns:
- currency set as current
- Throws:
TmaUnsupportedCurrencyException
-
-