Class MerchSnProductFacetPopulator
java.lang.Object
com.hybris.merchandising.converters.populators.MerchSnProductFacetPopulator
- All Implemented Interfaces:
Populator<MerchSnDocumentContainer,Product>
public class MerchSnProductFacetPopulator
extends Object
implements Populator<MerchSnDocumentContainer,Product>
Class populating product facets to merch product from indexed document container
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FacetValuecreateFacetValue(Object fieldValue, AbstractSnFacetResponse facetResponse, AbstractSnFacetRequest facetRequest) protected List<FacetValue>createMerchFacetValues(AbstractSnFacetResponse facetResponse, AbstractSnFacetRequest facetRequest, MerchSnDocumentContainer source) voidpopulate(MerchSnDocumentContainer source, Product target) Populate the target instance with values from the source instance.
-
Constructor Details
-
MerchSnProductFacetPopulator
public MerchSnProductFacetPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<MerchSnDocumentContainer,Product> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
createMerchFacetValues
protected List<FacetValue> createMerchFacetValues(AbstractSnFacetResponse facetResponse, AbstractSnFacetRequest facetRequest, MerchSnDocumentContainer source) -
createFacetValue
protected FacetValue createFacetValue(Object fieldValue, AbstractSnFacetResponse facetResponse, AbstractSnFacetRequest facetRequest)
-