java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
de.hybris.platform.b2ctelcoservices.search.solrfacetsearch.provider.impl.pricing.TmaProdSpecCharValueUseResolver
All Implemented Interfaces:
de.hybris.platform.solrfacetsearch.provider.QualifierProviderAware, de.hybris.platform.solrfacetsearch.provider.ValueResolver<PriceRowModel>

public class TmaProdSpecCharValueUseResolver extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
Field Value Provider for indexing pscvu's. The indexed pscvu's will include the entire structure, persisted as json.
Since:
2105
  • Constructor Details

  • Method Details

    • addFieldValues

      protected void addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument inputDocument, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext indexerBatchContext, IndexedProperty indexedProperty, PriceRowModel priceRowModel, de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<Object,Object> valueResolverContext) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
      Specified by:
      addFieldValues in class de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
      Throws:
      de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
    • addProductOfferingPriceToInputDocument

      protected void addProductOfferingPriceToInputDocument(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument inputDocument, IndexedProperty indexedProperty, Set<TmaSolrDocumentPscvUse> pscvUses, String priceRowCode) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
      Transform the TmaSolrDocumentPscvUse into json format and appends it to the solr document received as .
      Parameters:
      inputDocument - solr input document to be populated with the Product Offering Price
      indexedProperty - the indexed property for which the input document will be constructed
      pscvUses - product offering price to be populated on the document
      priceRowCode - code of the price row for which the pop is to be indexed
      Throws:
      de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException - if the converted product offering price cannot be added to the document
    • getSpoSource

      protected TmaSpoSource getSpoSource()
    • getTmaSolrDocumentPscvUseConverter

      protected org.springframework.core.convert.converter.Converter<TmaProductSpecCharValueUseModel,TmaSolrDocumentPscvUse> getTmaSolrDocumentPscvUseConverter()