Class TmaPriceRegionResolver
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PDTRowModel,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<PDTRowModel>
public class TmaPriceRegionResolver
extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractValueResolver<PDTRowModel,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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, IndexedProperty prop, String isocode) protected voidaddFieldValues(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, IndexedProperty prop, PDTRowModel pdtRow, 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
-
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, PDTRowModel pdtRow, 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<PDTRowModel,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
-