Interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,R extends AbstractAsSearchProfile>

Type Parameters:
T - - the type of search profile model
R - - the type of search profile data
All Superinterfaces:
AsCacheAwareStrategy<T>
All Known Implementing Classes:
AbstractAsSearchProfileLoadStrategy, AsGenericCategoryAwareSearchProfileLoadStrategy, AsGenericSimpleSearchProfileLoadStrategy

public interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,R extends AbstractAsSearchProfile> extends AsCacheAwareStrategy<T>
Strategy for loading search profiles.
  • Method Summary

    Modifier and Type
    Method
    Description
    load(AsSearchProfileContext context, T searchProfile)
    Loads the search profile model and converts it to some data object.
    default R
    map(AsSearchProfileContext context, R searchProfile)
    Allows additional processing on the search profile data.

    Methods inherited from interface de.hybris.platform.adaptivesearch.strategies.AsCacheAwareStrategy

    getCacheKeyFragment
  • Method Details

    • load

      R load(AsSearchProfileContext context, T searchProfile)
      Loads the search profile model and converts it to some data object. The returned value can be cached.
      Parameters:
      context - - the search profile context
      searchProfile - - the search profile model
      Returns:
      the search profile data
    • map

      default R map(AsSearchProfileContext context, R searchProfile)
      Allows additional processing on the search profile data. This method should not modify the given search profile data. The returned value should not be cached.
      Parameters:
      context - - the search profile context
      searchProfile - - the search profile data
      Returns:
      the new search profile data