java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<DiscountRowModel,Object,Object>
de.hybris.platform.b2ctelcoservices.compatibility.eligibility.solr.indexing.resolver.TmaDiscountTermResolver
All Implemented Interfaces:
de.hybris.platform.solrfacetsearch.provider.QualifierProviderAware, de.hybris.platform.solrfacetsearch.provider.ValueResolver<DiscountRowModel>

public class TmaDiscountTermResolver extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<DiscountRowModel,Object,Object>
Resolves Solr Property for the term(s) given an DiscountRowModel. When there are no terms defined (meaning the price is applicable for all) an empty element will be added to the Solr doc.
Since:
2302
  • 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, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, DiscountRowModel discount, 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

  • Method Details

    • addFieldValues

      protected void addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, DiscountRowModel discount, 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<DiscountRowModel,Object,Object>
      Throws:
      de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
    • getTmaTermInfoSource

      protected TmaTermInfoSource<String> getTmaTermInfoSource()