public class SolrRESTSearchCatalogEntryViewDescriptionQueryPostprocessor extends AbstractSolrSearchQueryPostprocessor implements com.ibm.commerce.foundation.server.services.search.query.SearchQueryPostprocessor
Constructor and Description |
---|
SolrRESTSearchCatalogEntryViewDescriptionQueryPostprocessor(java.lang.String componentId)
Creates an instance of the search query post-processor for a particular component.
|
Modifier and Type | Method and Description |
---|---|
protected boolean | checkLanguageFallBackRequired(java.util.Map<java.lang.String,java.lang.Object> catEntryView)
For the given catalog entry, return whether there is a need to find the language fallback for the name or other description related fields.
|
protected void | handleLanguageFallback(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> catalogEntryViews, java.lang.String catOvrGrpId)
Go through the list of catalog entries in the catalogNavigationView.
|
protected void | initMappingParameters()
initMappingParameters for current processor
|
void | invoke(SelectionCriteria selectionCriteria, java.lang.Object... queryResponseObjects)
Invoke the search query post-processor, given the SelectionCriteria object, to perform additional tasks right after the search query response has been returned from the search engine.
|
protected void | populateOverrideCatalogEntries(java.util.List<java.util.HashMap> listOfPhysicalObjects, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> catalogEntryViews)
This method populates the overridden catalog entry fields in CatalogNavigationView Noun.
|
public SolrRESTSearchCatalogEntryViewDescriptionQueryPostprocessor(java.lang.String componentId)
public void invoke(SelectionCriteria selectionCriteria, java.lang.Object... queryResponseObjects) throws java.lang.RuntimeException
protected void handleLanguageFallback(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> catalogEntryViews, java.lang.String catOvrGrpId)
protected boolean checkLanguageFallBackRequired(java.util.Map<java.lang.String,java.lang.Object> catEntryView)
protected void populateOverrideCatalogEntries(java.util.List<java.util.HashMap> listOfPhysicalObjects, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> catalogEntryViews)
protected void initMappingParameters()