Class DefaultIndexerTenantService.Tenant

java.lang.Object
com.broadleafcommerce.search.index.core.service.DefaultIndexerTenantService.Tenant
Enclosing class:
DefaultIndexerTenantService

public static class DefaultIndexerTenantService.Tenant extends Object
Basic tenant representation used only to retrieve locales.
  • Constructor Details

    • Tenant

      public Tenant()
  • Method Details

    • getDefaultLocale

      public Locale getDefaultLocale()
      The Locale that this tenant, by default, assumes all data is within and can drive the default Locale selection as a result.
      Returns:
      The default Locale as a string.
    • getAllowedLocales

      public List<Locale> getAllowedLocales()
      List of Locales that are available to be selected for this tenant.
      Returns:
      List of Locales available for this tenant.
    • setDefaultLocale

      public void setDefaultLocale(Locale defaultLocale)
      The Locale that this tenant, by default, assumes all data is within and can drive the default Locale selection as a result.
      Parameters:
      defaultLocale - The default Locale as a string.
    • setAllowedLocales

      public void setAllowedLocales(List<Locale> allowedLocales)
      List of Locales that are available to be selected for this tenant.
      Parameters:
      allowedLocales - List of Locales available for this tenant.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object