Class AggregatedStatisticsConverter
java.lang.Object
de.hybris.platform.solrfacetsearch.reporting.data.converters.AggregatedStatisticsConverter
- All Implemented Interfaces:
Converter<AggregatedSearchQueryInfo,,SolrQueryAggregatedStatsModel> org.springframework.core.convert.converter.Converter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel>
public class AggregatedStatisticsConverter
extends Object
implements Converter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel>
Converts POJO object (AggregatedKeywordSearchResult) to model (SolrQueryAggregatedStatsModel)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(AggregatedSearchQueryInfo result) Converts the source object, creating a new instance of the destination typeconvert(AggregatedSearchQueryInfo source, SolrQueryAggregatedStatsModel prototype) Convert the source object by filling the prototypevoidsetI18nService(CommonI18NService i18nService) voidsetModelService(ModelService modelService) voidsetSolrFacetSearchConfigDao(SolrFacetSearchConfigDao solrFacetSearchConfigDao) Methods 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
-
AggregatedStatisticsConverter
public AggregatedStatisticsConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel> - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel> - Parameters:
result- the source object- Returns:
- the converted object
-
convert
public SolrQueryAggregatedStatsModel convert(AggregatedSearchQueryInfo source, SolrQueryAggregatedStatsModel prototype) Description copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel> - Parameters:
source- the source objectprototype- the prototype to fill- Returns:
- the converted object, identical to the prototype
-
setSolrFacetSearchConfigDao
-
setModelService
-
setI18nService
-