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,AsGenericCategoryAwareSearchProfileLoadStrategy,AsGenericSimpleSearchProfileLoadStrategy
public interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,R extends AbstractAsSearchProfile>
extends AsCacheAwareStrategy<T>
Strategy for loading search profiles.
-
Method Summary
Modifier and TypeMethodDescriptionload(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 Details
-
load
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
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
-