Class AsSortsReplaceMergeStrategy
- java.lang.Object
-
- de.hybris.platform.adaptivesearch.strategies.impl.AbstractAsSortsMergeStrategy
-
- de.hybris.platform.adaptivesearch.strategies.impl.AsSortsReplaceMergeStrategy
-
- All Implemented Interfaces:
AsSortsMergeStrategy
public class AsSortsReplaceMergeStrategy extends AbstractAsSortsMergeStrategy
Default implementation ofAsSortsMergeStrategyfor REPLACE merge mode.
-
-
Constructor Summary
Constructors Constructor Description AsSortsReplaceMergeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmergeSorts(AsSearchProfileResult source, AsSearchProfileResult target)Merges the sorts from the source result into the target result.protected <V extends AbstractAsSortConfiguration>
voidreplace(java.util.Map<java.lang.String,AsConfigurationHolder<V,AbstractAsSortConfiguration>> source, java.util.Map<java.lang.String,AsConfigurationHolder<V,AbstractAsSortConfiguration>> target)-
Methods inherited from class de.hybris.platform.adaptivesearch.strategies.impl.AbstractAsSortsMergeStrategy
cloneConfigurationHolder, getAsSearchProfileResultFactory, setAsSearchProfileResultFactory, updateReplacedConfigurations
-
-
-
-
Method Detail
-
mergeSorts
public void mergeSorts(AsSearchProfileResult source, AsSearchProfileResult target)
Description copied from interface:AsSortsMergeStrategyMerges the sorts from the source result into the target result.- Parameters:
source- - the source resulttarget- - the target result
-
replace
protected <V extends AbstractAsSortConfiguration> void replace(java.util.Map<java.lang.String,AsConfigurationHolder<V,AbstractAsSortConfiguration>> source, java.util.Map<java.lang.String,AsConfigurationHolder<V,AbstractAsSortConfiguration>> target)
-
-