Class AbstractAsSearchProfileCalculationStrategy<T extends AbstractAsSearchProfile>
java.lang.Object
de.hybris.platform.adaptivesearch.strategies.impl.AbstractAsSearchProfileCalculationStrategy<T>
- Type Parameters:
T- - the type of search profile data
- All Implemented Interfaces:
AsCacheAwareStrategy<T>,AsSearchProfileCalculationStrategy<T>
- Direct Known Subclasses:
AsGenericSearchProfileCalculationStrategy
public abstract class AbstractAsSearchProfileCalculationStrategy<T extends AbstractAsSearchProfile>
extends Object
implements AsSearchProfileCalculationStrategy<T>
Base class for implementations of
AsSearchProfileCalculationStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCacheKeyFragment(AsSearchProfileContext context, T searchProfile) Returns a cache key fragment.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.adaptivesearch.strategies.AsSearchProfileCalculationStrategy
calculate, map
-
Constructor Details
-
AbstractAsSearchProfileCalculationStrategy
public AbstractAsSearchProfileCalculationStrategy()
-
-
Method Details
-
getCacheKeyFragment
Description copied from interface:AsCacheAwareStrategyReturns a cache key fragment. In most cases implementing strategies can simply returnnull. If strategies can have results that depend on the context, a different implementation should be provided.- Specified by:
getCacheKeyFragmentin interfaceAsCacheAwareStrategy<T extends AbstractAsSearchProfile>- Parameters:
context- - the search profile contextsearchProfile- - the source object- Returns:
- the key fragment
-