Class AsSortConfigurationPopulator
- java.lang.Object
-
- de.hybris.platform.adaptivesearch.converters.populators.AsSortConfigurationPopulator
-
- All Implemented Interfaces:
ContextAwarePopulator<AbstractAsSortConfigurationModel,AbstractAsSortConfiguration,AsItemConfigurationConverterContext>
public class AsSortConfigurationPopulator extends java.lang.Object implements ContextAwarePopulator<AbstractAsSortConfigurationModel,AbstractAsSortConfiguration,AsItemConfigurationConverterContext>
PopulatesAbstractAsSortConfigurationfromAbstractAsSortConfigurationModel.
-
-
Constructor Summary
Constructors Constructor Description AsSortConfigurationPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.lang.String>buildNameLocalizationMap(AbstractAsSortConfigurationModel source)ContextAwareConverter<AsSortExpressionModel,AsSortExpression,AsItemConfigurationConverterContext>getAsSortExpressionConverter()I18NServicegetI18NService()voidpopulate(AbstractAsSortConfigurationModel source, AbstractAsSortConfiguration target, AsItemConfigurationConverterContext context)Populate the target instance with values from the source instance.voidsetAsSortExpressionConverter(ContextAwareConverter<AsSortExpressionModel,AsSortExpression,AsItemConfigurationConverterContext> asSortExpressionConverter)voidsetI18NService(I18NService i18NService)
-
-
-
Method Detail
-
populate
public void populate(AbstractAsSortConfigurationModel source, AbstractAsSortConfiguration target, AsItemConfigurationConverterContext context)
Description copied from interface:ContextAwarePopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfaceContextAwarePopulator<AbstractAsSortConfigurationModel,AbstractAsSortConfiguration,AsItemConfigurationConverterContext>- Parameters:
source- - the source objecttarget- - the target to fill
-
buildNameLocalizationMap
protected java.util.Map<java.lang.String,java.lang.String> buildNameLocalizationMap(AbstractAsSortConfigurationModel source)
-
getI18NService
public I18NService getI18NService()
-
setI18NService
public void setI18NService(I18NService i18NService)
-
getAsSortExpressionConverter
public ContextAwareConverter<AsSortExpressionModel,AsSortExpression,AsItemConfigurationConverterContext> getAsSortExpressionConverter()
-
setAsSortExpressionConverter
public void setAsSortExpressionConverter(ContextAwareConverter<AsSortExpressionModel,AsSortExpression,AsItemConfigurationConverterContext> asSortExpressionConverter)
-
-