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 TypeMethodDescriptionvoid
clearCache
(String tenantId) Clear any cached locales for the tenant ID.readLocalesByTenantId
(String tenantId) 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
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
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
Clear any cached locales for the tenant ID.- Parameters:
tenantId
- The tenant ID to clear
-