Class AsConfigurableSearchConfigurationPopulator
java.lang.Object
de.hybris.platform.adaptivesearch.converters.populators.AsConfigurableSearchConfigurationPopulator
- All Implemented Interfaces:
ContextAwarePopulator<AbstractAsConfigurableSearchConfigurationModel,AsConfigurableSearchConfiguration, AsSearchConfigurationConverterContext>
public class AsConfigurableSearchConfigurationPopulator
extends Object
implements ContextAwarePopulator<AbstractAsConfigurableSearchConfigurationModel,AsConfigurableSearchConfiguration,AsSearchConfigurationConverterContext>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends AbstractAsConfigurationModel,T, C>
List<T>convertAll(ContextAwareConverter<S, T, C> converter, List<? extends S> sources, C childContext) voidpopulate(AbstractAsConfigurableSearchConfigurationModel source, AsConfigurableSearchConfiguration target, AsSearchConfigurationConverterContext context) Populate the target instance with values from the source instance.voidsetAsBoostRuleConverter(ContextAwareConverter<AsBoostRuleModel, AsBoostRule, AsItemConfigurationConverterContext> asBoostRuleConverter) voidsetAsExcludedFacetConverter(ContextAwareConverter<AsExcludedFacetModel, AsExcludedFacet, AsItemConfigurationConverterContext> asExcludedFacetConverter) voidsetAsExcludedItemConverter(ContextAwareConverter<AsExcludedItemModel, AsExcludedItem, AsItemConfigurationConverterContext> asExcludedItemConverter) voidsetAsExcludedSortConverter(ContextAwareConverter<AsExcludedSortModel, AsExcludedSort, AsItemConfigurationConverterContext> asExcludedSortConverter) voidsetAsFacetConverter(ContextAwareConverter<AsFacetModel, AsFacet, AsItemConfigurationConverterContext> asFacetConverter) voidsetAsPromotedFacetConverter(ContextAwareConverter<AsPromotedFacetModel, AsPromotedFacet, AsItemConfigurationConverterContext> asPromotedFacetConverter) voidsetAsPromotedItemConverter(ContextAwareConverter<AsPromotedItemModel, AsPromotedItem, AsItemConfigurationConverterContext> asPromotedItemConverter) voidsetAsPromotedSortConverter(ContextAwareConverter<AsPromotedSortModel, AsPromotedSort, AsItemConfigurationConverterContext> asPromotedSortConverter) voidsetAsSortConverter(ContextAwareConverter<AsSortModel, AsSort, AsItemConfigurationConverterContext> asSortConverter) voidsetModelService(ModelService modelService)
-
Constructor Details
-
AsConfigurableSearchConfigurationPopulator
public AsConfigurableSearchConfigurationPopulator()
-
-
Method Details
-
populate
public void populate(AbstractAsConfigurableSearchConfigurationModel source, AsConfigurableSearchConfiguration target, AsSearchConfigurationConverterContext context) Description copied from interface:ContextAwarePopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfaceContextAwarePopulator<AbstractAsConfigurableSearchConfigurationModel,AsConfigurableSearchConfiguration, AsSearchConfigurationConverterContext> - Parameters:
source- - the source objecttarget- - the target to fill
-
convertAll
public static <S extends AbstractAsConfigurationModel,T, List<T> convertAllC> (ContextAwareConverter<S, T, C> converter, List<? extends S> sources, C childContext) -
getModelService
-
setModelService
-
getAsPromotedFacetConverter
public ContextAwareConverter<AsPromotedFacetModel,AsPromotedFacet, getAsPromotedFacetConverter()AsItemConfigurationConverterContext> -
setAsPromotedFacetConverter
public void setAsPromotedFacetConverter(ContextAwareConverter<AsPromotedFacetModel, AsPromotedFacet, AsItemConfigurationConverterContext> asPromotedFacetConverter) -
getAsFacetConverter
public ContextAwareConverter<AsFacetModel,AsFacet, getAsFacetConverter()AsItemConfigurationConverterContext> -
setAsFacetConverter
public void setAsFacetConverter(ContextAwareConverter<AsFacetModel, AsFacet, AsItemConfigurationConverterContext> asFacetConverter) -
getAsExcludedFacetConverter
public ContextAwareConverter<AsExcludedFacetModel,AsExcludedFacet, getAsExcludedFacetConverter()AsItemConfigurationConverterContext> -
setAsExcludedFacetConverter
public void setAsExcludedFacetConverter(ContextAwareConverter<AsExcludedFacetModel, AsExcludedFacet, AsItemConfigurationConverterContext> asExcludedFacetConverter) -
getAsPromotedItemConverter
public ContextAwareConverter<AsPromotedItemModel,AsPromotedItem, getAsPromotedItemConverter()AsItemConfigurationConverterContext> -
setAsPromotedItemConverter
public void setAsPromotedItemConverter(ContextAwareConverter<AsPromotedItemModel, AsPromotedItem, AsItemConfigurationConverterContext> asPromotedItemConverter) -
getAsExcludedItemConverter
public ContextAwareConverter<AsExcludedItemModel,AsExcludedItem, getAsExcludedItemConverter()AsItemConfigurationConverterContext> -
setAsExcludedItemConverter
public void setAsExcludedItemConverter(ContextAwareConverter<AsExcludedItemModel, AsExcludedItem, AsItemConfigurationConverterContext> asExcludedItemConverter) -
getAsBoostRuleConverter
public ContextAwareConverter<AsBoostRuleModel,AsBoostRule, getAsBoostRuleConverter()AsItemConfigurationConverterContext> -
setAsBoostRuleConverter
public void setAsBoostRuleConverter(ContextAwareConverter<AsBoostRuleModel, AsBoostRule, AsItemConfigurationConverterContext> asBoostRuleConverter) -
getAsPromotedSortConverter
public ContextAwareConverter<AsPromotedSortModel,AsPromotedSort, getAsPromotedSortConverter()AsItemConfigurationConverterContext> -
setAsPromotedSortConverter
public void setAsPromotedSortConverter(ContextAwareConverter<AsPromotedSortModel, AsPromotedSort, AsItemConfigurationConverterContext> asPromotedSortConverter) -
getAsSortConverter
public ContextAwareConverter<AsSortModel,AsSort, getAsSortConverter()AsItemConfigurationConverterContext> -
setAsSortConverter
public void setAsSortConverter(ContextAwareConverter<AsSortModel, AsSort, AsItemConfigurationConverterContext> asSortConverter) -
getAsExcludedSortConverter
public ContextAwareConverter<AsExcludedSortModel,AsExcludedSort, getAsExcludedSortConverter()AsItemConfigurationConverterContext> -
setAsExcludedSortConverter
public void setAsExcludedSortConverter(ContextAwareConverter<AsExcludedSortModel, AsExcludedSort, AsItemConfigurationConverterContext> asExcludedSortConverter)
-