Class TmaPriceTermResolver
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
de.hybris.platform.b2ctelcoservices.compatibility.eligibility.solr.indexing.resolver.TmaPriceTermResolver
- All Implemented Interfaces:
de.hybris.platform.solrfacetsearch.provider.QualifierProviderAware,de.hybris.platform.solrfacetsearch.provider.ValueResolver<PriceRowModel>
public class TmaPriceTermResolver
extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object,Object>
Resolves Solr Property for the term(s) given an
PriceRowModel.
When there are no terms defined (meaning the price is applicable for all) an empty element will be added to the Solr doc.- Since:
- 1810
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, PriceRowModel price, de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<Object, Object> resolverCtx) voidsetTmaTermInfoSource(TmaTermInfoSource<String> tmaTermInfoSource) 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
-
Constructor Details
-
TmaPriceTermResolver
public TmaPriceTermResolver()
-
-
Method Details
-
addFieldValues
protected void addFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, PriceRowModel price, de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver.ValueResolverContext<Object, Object> resolverCtx) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Specified by:
addFieldValuesin classde.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PriceRowModel,Object, Object> - Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
getTmaTermInfoSource
-
setTmaTermInfoSource
-