Interface CustomizedSearchSettingsRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>

All Known Subinterfaces:
JpaSearchSettingsRepository<D>, SearchSettingsRepository<D>
All Known Implementing Classes:
JpaCustomizedSearchSettingsRepository

public interface CustomizedSearchSettingsRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
  • Method Summary

    Modifier and Type
    Method
    Description
    findForContextForTenant(String settingsContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieves the SearchSettings for the given DefaultSettingsContextType for the tenant in scope.
  • Method Details

    • findForContextForTenant

      @Policy(operationTypes=READ) Optional<D> findForContextForTenant(String settingsContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieves the SearchSettings for the given DefaultSettingsContextType for the tenant in scope. This will honor sandbox filtering and query hints.
      Parameters:
      settingsContext - the settings context to filter on
      contextInfo - context information around sandbox and multitenant state
      Returns:
      the search settings, if it exists