Class DefaultIndexConfigPopulator
java.lang.Object
de.hybris.platform.solrfacetsearch.converters.populator.DefaultIndexConfigPopulator
- All Implemented Interfaces:
Populator<SolrFacetSearchConfigModel,IndexConfig>
public class DefaultIndexConfigPopulator
extends Object
implements Populator<SolrFacetSearchConfigModel,IndexConfig>
Populates
IndexConfig instance based on the source element - SolrFacetSearchConfigModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Collection<IndexedType>getIndexTypesFromItems(Collection<SolrIndexedTypeModel> itemTypes, SolrConfig solrConfig) protected SolrConfiggetSolrConfigFromItems(SolrServerConfigModel itemConfig) voidpopulate(SolrFacetSearchConfigModel source, IndexConfig target) Populate the target instance with values from the source instance.voidsetIndexedTypeConverter(Converter<SolrIndexedTypeModel, IndexedType> indexedTypeConverter) voidsetSolrServerConfigConverter(Converter<SolrServerConfigModel, SolrConfig> solrServerConfigConverter)
-
Constructor Details
-
DefaultIndexConfigPopulator
public DefaultIndexConfigPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SolrFacetSearchConfigModel,IndexConfig> - Parameters:
source- the source objecttarget- the target to fill
-
getIndexTypesFromItems
protected Collection<IndexedType> getIndexTypesFromItems(Collection<SolrIndexedTypeModel> itemTypes, SolrConfig solrConfig) throws FacetConfigServiceException - Throws:
FacetConfigServiceException
-
checkSingleQuery
- Throws:
FacetConfigServiceException
-
getSolrConfigFromItems
-
setSolrServerConfigConverter
public void setSolrServerConfigConverter(Converter<SolrServerConfigModel, SolrConfig> solrServerConfigConverter) -
setIndexedTypeConverter
public void setIndexedTypeConverter(Converter<SolrIndexedTypeModel, IndexedType> indexedTypeConverter)
-