Package com.liferay.portal.kernel.util
Class LocaleThreadLocal
Object
com.liferay.portal.kernel.util.LocaleThreadLocal
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Localestatic Localestatic Localestatic voidstatic voidsetDefaultLocale(Locale locale) static com.liferay.petra.lang.SafeCloseablestatic voidsetSiteDefaultLocale(Locale locale) static voidsetThemeDisplayLocale(Locale locale)
-
Constructor Details
-
LocaleThreadLocal
public LocaleThreadLocal()
-
-
Method Details
-
getDefaultLocale
-
getSiteDefaultLocale
-
getThemeDisplayLocale
-
removeDefaultLocale
public static void removeDefaultLocale() -
setDefaultLocale
-
setDefaultLocaleWithSafeCloseable
-
setSiteDefaultLocale
-
setThemeDisplayLocale
-