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

public class TmaPriceRegionResolver extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
Resolves Solr Property for the region(s) given an PriceRowModel. When there is no region defined (meaning the price is applicable for all regions) a string(EMPTY_STRING) will be added to the Solr doc.
Since:
1907
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver

    de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<T extends Object,U extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, IndexedProperty prop, String isocode)
     
    protected void
    addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, PriceRowModel priceRow, de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<Object,Object> resolverCtx)
     

    Methods inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver

    addFieldValue, createLocalSessionContext, doResolve, filterAndAddFieldValues, filterFieldValue, getQualifierProvider, getSessionService, getValueFilters, loadData, loadQualifierData, removeLocalSessionContext, resolve, setQualifierProvider, setSessionService, setValueFilters

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TmaPriceRegionResolver

      public TmaPriceRegionResolver()
  • Method Details

    • addFieldValues

      protected void addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, PriceRowModel priceRow, de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<Object,Object> resolverCtx) 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
    • addFieldValues

      protected void addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, IndexedProperty prop, String isocode) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
      Throws:
      de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException