Class DefaultIndexerTenantService.Tenant
java.lang.Object
com.broadleafcommerce.search.index.core.service.DefaultIndexerTenantService.Tenant
- Enclosing class:
- DefaultIndexerTenantService
Basic tenant representation used only to retrieve locales.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanList ofLocalesthat are available to be selected for this tenant.inthashCode()voidsetAllowedLocales(List<Locale> allowedLocales) List ofLocalesthat are available to be selected for this tenant.voidsetDefaultLocale(Locale defaultLocale) toString()
-
Constructor Details
-
Tenant
public Tenant()
-
-
Method Details
-
getDefaultLocale
TheLocalethat this tenant, by default, assumes all data is within and can drive the defaultLocaleselection as a result.- Returns:
- The default
Localeas a string.
-
getAllowedLocales
List ofLocalesthat are available to be selected for this tenant.- Returns:
- List of
Localesavailable for this tenant.
-
setDefaultLocale
TheLocalethat this tenant, by default, assumes all data is within and can drive the defaultLocaleselection as a result.- Parameters:
defaultLocale- The defaultLocaleas a string.
-
setAllowedLocales
List ofLocalesthat are available to be selected for this tenant.- Parameters:
allowedLocales- List ofLocalesavailable for this tenant.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-