@Specializes public class SessionAwareLocaleManager extends LocaleManager
defaultLocaleId, installedLocaleIds
Constructor and Description |
---|
SessionAwareLocaleManager() |
Modifier and Type | Method and Description |
---|---|
Locale |
getCurrentEditLocale() |
Locale |
getCurrentLocale() |
protected SessionContext |
getSessionContext() |
void |
setCurrentEditLocale(Locale currentEditLocale) |
void |
setCurrentLocale(Locale currentLocale) |
currentLang, currentLocale, getAllLanguages, getAllLocales, getBundle, getBundle, getBundle, getCurrentEditLang, getCurrentLang, getDefaultLang, getDefaultLocale, getDefaultLocaleId, getInstalledLocaleIds, getLangs, getLocaleById, getPlatformAvailableLangs, getPlatformAvailableLocales, getPlatformLocale, init, localeToString, localize, lookup, setCurrentEditLang, setCurrentLang, setDefaultLocale, setDefaultLocaleId, setInstalledLocaleIds
protected SessionContext getSessionContext()
public Locale getCurrentLocale()
getCurrentLocale
in class LocaleManager
public void setCurrentLocale(Locale currentLocale)
setCurrentLocale
in class LocaleManager
public Locale getCurrentEditLocale()
getCurrentEditLocale
in class LocaleManager
public void setCurrentEditLocale(Locale currentEditLocale)
setCurrentEditLocale
in class LocaleManager
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.