Interface TmaContextInformationLoader
- All Known Implementing Classes:
TmaDefaultContextInformationLoader
public interface TmaContextInformationLoader
Interface for context information loader
- Since:
- 1810
-
Method Summary
Modifier and TypeMethodDescriptionsetCurrencyFromRequest(javax.servlet.http.HttpServletRequest request) Method set current currency based on information from requestsetLanguageFromRequest(javax.servlet.http.HttpServletRequest request) Method set current language base on information from request
-
Method Details
-
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
-