Interface Locale
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LocaleImpl
Created by jfischer
-
Method Summary
Modifier and TypeMethodDescriptionIf true then the country portion of the locale will be used when building the search index.void
setDefaultCurrency
(BroadleafCurrency currency) void
setDefaultFlag
(Boolean defaultFlag) void
setFriendlyName
(String friendlyName) void
setLocaleCode
(String localeCode) void
setUseCountryInSearchIndex
(Boolean useInSearchIndex) Sets whether or not to use the country portion of the locale in the search index.
-
Method Details
-
getLocaleCode
String getLocaleCode() -
setLocaleCode
-
getJavaLocale
Locale getJavaLocale() -
getFriendlyName
String getFriendlyName() -
setFriendlyName
-
getDefaultFlag
Boolean getDefaultFlag() -
setDefaultFlag
-
getDefaultCurrency
BroadleafCurrency getDefaultCurrency() -
setDefaultCurrency
-
getUseCountryInSearchIndex
Boolean getUseCountryInSearchIndex()If true then the country portion of the locale will be used when building the search index. If null or false then only the language will be used.For example, if false, a locale of en_US will only index the results based on the root of "en".
- Returns:
-
setUseCountryInSearchIndex
Sets whether or not to use the country portion of the locale in the search index.- Parameters:
useInSearchIndex
-
-