Interface IndexerTenantService

All Known Implementing Classes:
DefaultIndexerTenantService

public interface IndexerTenantService
Used by search indexer to retrieve locales from the tenant service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearCache(String tenantId)
    Clear any cached locales for the tenant ID.
    Returns a list of locales for the tenant with the given ID.
    readLocalesByTenantId(String tenantId, boolean indexLanguagesForTenantDefaultLocale)
    Returns a list of locales for the tenant with the given ID.
  • Method Details

    • readLocalesByTenantId

      Set<String> readLocalesByTenantId(String tenantId)
      Returns a list of locales for the tenant with the given ID.
      Parameters:
      tenantId - The tenant ID to get locales for
      Returns:
      Locales for the tenant ID
    • readLocalesByTenantId

      Set<String> readLocalesByTenantId(String tenantId, boolean indexLanguagesForTenantDefaultLocale)
      Returns a list of locales for the tenant with the given ID.
      Parameters:
      tenantId - The tenant ID to get locales for
      Returns:
      Locales for the tenant ID
    • clearCache

      void clearCache(String tenantId)
      Clear any cached locales for the tenant ID.
      Parameters:
      tenantId - The tenant ID to clear