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 Locale
static Locale
static Locale
static void
static void
setDefaultLocale
(Locale locale) static com.liferay.petra.lang.SafeCloseable
static void
setSiteDefaultLocale
(Locale locale) static void
setThemeDisplayLocale
(Locale locale)
-
Constructor Details
-
LocaleThreadLocal
public LocaleThreadLocal()
-
-
Method Details
-
getDefaultLocale
-
getSiteDefaultLocale
-
getThemeDisplayLocale
-
removeDefaultLocale
public static void removeDefaultLocale() -
setDefaultLocale
-
setDefaultLocaleWithSafeCloseable
-
setSiteDefaultLocale
-
setThemeDisplayLocale
-