Class DefaultSolrProductConverter
java.lang.Object
de.hybris.platform.solrfacetsearch.search.AbstractSolrConverter<SolrProductData>
de.hybris.platform.solrfacetsearch.search.product.DefaultSolrProductConverter
- All Implemented Interfaces:
Converter<SolrResult,,SolrProductData> Serializable,org.springframework.core.convert.converter.Converter<SolrResult,SolrProductData>
public class DefaultSolrProductConverter
extends AbstractSolrConverter<SolrProductData>
implements Serializable
Converts SolrResult to ProductData.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(SolrResult solrResult, SolrProductData target) Convert the source object by filling the prototypeprotected SolrProductDataReturns empty template instance for the conversion targetMethods inherited from class de.hybris.platform.solrfacetsearch.search.AbstractSolrConverter
convert, getFieldNameTranslator, getValue, getValue, setFieldNameTranslator, translateFieldNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
DefaultSolrProductConverter
public DefaultSolrProductConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<SolrResult,SolrProductData> - Parameters:
solrResult- the source objecttarget- the prototype to fill- Returns:
- the converted object, identical to the prototype
-
createDataObject
Description copied from class:AbstractSolrConverterReturns empty template instance for the conversion target- Specified by:
createDataObjectin classAbstractSolrConverter<SolrProductData>
-