public class SolrIndexedPropertyLoadInterceptor extends Object implements LoadInterceptor
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 and Description |
|---|
SolrIndexedPropertyLoadInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onLoad(Object model,
InterceptorContext ctx)
If a model is loaded from the database this method is called by the model service.
|
void |
setDefaultFacetSortProvider(String defaultFacetSortProvider) |
public void onLoad(Object model, InterceptorContext ctx) throws InterceptorException
LoadInterceptoronLoad in interface LoadInterceptormodel - the model to be loadedctx - the InterceptorContextInterceptorException - if the model could not be loadedpublic void setDefaultFacetSortProvider(String defaultFacetSortProvider)
Copyright © 2017 SAP SE. All Rights Reserved.