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 java.lang.Object implements Converter<AggregatedSearchQueryInfo,SolrQueryAggregatedStatsModel>
Converts POJO object (AggregatedKeywordSearchResult) to model (SolrQueryAggregatedStatsModel)
-
-
Constructor Summary
Constructors Constructor Description AggregatedStatisticsConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrQueryAggregatedStatsModelconvert(AggregatedSearchQueryInfo result)Converts the source object, creating a new instance of the destination typeSolrQueryAggregatedStatsModelconvert(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, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Method Detail
-
convert
public SolrQueryAggregatedStatsModel convert(AggregatedSearchQueryInfo result)
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
public void setSolrFacetSearchConfigDao(SolrFacetSearchConfigDao solrFacetSearchConfigDao)
-
setModelService
public void setModelService(ModelService modelService)
-
setI18nService
public void setI18nService(CommonI18NService i18nService)
-
-