Interface Locale

All Superinterfaces:
Serializable
All Known Implementing Classes:
LocaleImpl

public interface Locale extends Serializable
Created by jfischer
  • Method Details

    • getLocaleCode

      String getLocaleCode()
    • setLocaleCode

      void setLocaleCode(String localeCode)
    • getJavaLocale

      Locale getJavaLocale()
    • getFriendlyName

      String getFriendlyName()
    • setFriendlyName

      void setFriendlyName(String friendlyName)
    • getDefaultFlag

      Boolean getDefaultFlag()
    • setDefaultFlag

      void setDefaultFlag(Boolean defaultFlag)
    • getDefaultCurrency

      BroadleafCurrency getDefaultCurrency()
    • setDefaultCurrency

      void setDefaultCurrency(BroadleafCurrency currency)
    • 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

      void setUseCountryInSearchIndex(Boolean useInSearchIndex)
      Sets whether or not to use the country portion of the locale in the search index.
      Parameters:
      useInSearchIndex -