Class SolrIndexedPropertyLoadInterceptor
java.lang.Object
de.hybris.platform.solrfacetsearch.config.impl.SolrIndexedPropertyLoadInterceptor
- All Implemented Interfaces:
Interceptor,LoadInterceptor
Load interceptor for
SolrIndexedPropertyModel which loads default FacetSortProvider name for the
indexed property in case no bean id was defined. The default bean id can be configured via spring:
setDefaultFacetSortProvider(String)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoad(Object model, InterceptorContext ctx) If a model is loaded from the database this method is called by the model service.voidsetDefaultFacetSortProvider(String defaultFacetSortProvider)
-
Constructor Details
-
SolrIndexedPropertyLoadInterceptor
public SolrIndexedPropertyLoadInterceptor()
-
-
Method Details
-
onLoad
Description copied from interface:LoadInterceptorIf a model is loaded from the database this method is called by the model service.- Specified by:
onLoadin interfaceLoadInterceptor- Parameters:
model- the model to be loadedctx- theInterceptorContext- Throws:
InterceptorException- if the model could not be loaded
-
setDefaultFacetSortProvider
-