Class DocumentSearchResultValuePopulator
java.lang.Object
de.hybris.platform.commerceservices.search.solrfacetsearch.populators.DocumentSearchResultValuePopulator
- All Implemented Interfaces:
Populator<DocumentData<SearchQuery,Document>, SearchResultValueData>
public class DocumentSearchResultValuePopulator
extends Object
implements Populator<DocumentData<SearchQuery,Document>,SearchResultValueData>
Populator that populates the variants in document data from search results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SearchResultValueDataconvertVariant(Document variant, SearchQuery searchQuery) protected Collection<SearchResultValueData>convertVariants(DocumentData<SearchQuery, Document> source) protected Map<ClassAttributeAssignmentModel,Object> getFeatureValues(DocumentData<SearchQuery, Document> source) getValues(DocumentData<SearchQuery, Document> source) voidpopulate(DocumentData<SearchQuery, Document> source, SearchResultValueData target) Populate the target instance with values from the source instance.protected voidpopulateBasic(DocumentData<SearchQuery, Document> source, SearchResultValueData target)
-
Constructor Details
-
DocumentSearchResultValuePopulator
public DocumentSearchResultValuePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<DocumentData<SearchQuery,Document>, SearchResultValueData> - Parameters:
source- the source objecttarget- the target to fill
-
populateBasic
protected void populateBasic(DocumentData<SearchQuery, Document> source, SearchResultValueData target) -
getValues
-
getFeatureValues
protected Map<ClassAttributeAssignmentModel,Object> getFeatureValues(DocumentData<SearchQuery, Document> source) -
convertVariants
protected Collection<SearchResultValueData> convertVariants(DocumentData<SearchQuery, Document> source) -
convertVariant
-