Interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,R extends AbstractAsSearchProfile>
-
- Type Parameters:
T- - the type of search profile modelR- - the type of search profile data
- All Superinterfaces:
AsCacheAwareStrategy<T>
- All Known Implementing Classes:
AbstractAsSearchProfileLoadStrategy,AsCategoryAwareSearchProfileLoadStrategy,AsGenericCategoryAwareSearchProfileLoadStrategy,AsGenericSimpleSearchProfileLoadStrategy,AsSimpleSearchProfileLoadStrategy
public interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,R extends AbstractAsSearchProfile> extends AsCacheAwareStrategy<T>
Strategy for loading search profiles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Rload(AsSearchProfileContext context, T searchProfile)Loads the search profile model and converts it to some data object.default Rmap(AsSearchProfileContext context, R searchProfile)Allows additional processing on the search profile data.-
Methods inherited from interface de.hybris.platform.adaptivesearch.strategies.AsCacheAwareStrategy
getCacheKeyFragment
-
-
-
-
Method Detail
-
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 contextsearchProfile- - 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 contextsearchProfile- - the search profile data- Returns:
- the new search profile data
-
-