Class DefaultFlexibleSearchAttributeValueConverter
- java.lang.Object
-
- de.hybris.platform.cms2.cmsitems.service.impl.DefaultFlexibleSearchAttributeValueConverter
-
- All Implemented Interfaces:
FlexibleSearchAttributeValueConverter
public class DefaultFlexibleSearchAttributeValueConverter extends java.lang.Object implements FlexibleSearchAttributeValueConverter
Default implementation ofFlexibleSearchAttributeValueConverterPerforms conversion of the provided value to the value that is compatible with flexible search engine.
-
-
Constructor Summary
Constructors Constructor Description DefaultFlexibleSearchAttributeValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringconvert(AttributeDescriptorModel typeModel, java.lang.String value)Converts from the provided value to the value that is compatible with flexible search engine.protected java.util.Map<java.lang.String,Converter<java.lang.String,java.lang.String>>getConverters()voidsetConverters(java.util.Map<java.lang.String,Converter<java.lang.String,java.lang.String>> converters)
-
-
-
Method Detail
-
convert
public java.lang.String convert(AttributeDescriptorModel typeModel, java.lang.String value)
Description copied from interface:FlexibleSearchAttributeValueConverterConverts from the provided value to the value that is compatible with flexible search engine.- Specified by:
convertin interfaceFlexibleSearchAttributeValueConverter- Parameters:
typeModel- - type model that is used to find a proper convertervalue- - the value that will be converted- Returns:
- converted value that is compatible with flexible search engine
-
getConverters
protected java.util.Map<java.lang.String,Converter<java.lang.String,java.lang.String>> getConverters()
-
setConverters
public void setConverters(java.util.Map<java.lang.String,Converter<java.lang.String,java.lang.String>> converters)
-
-