Class SolrSearchQueryPropertyValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.interceptors.SolrSearchQueryPropertyValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<SolrSearchQueryPropertyModel>
public class SolrSearchQueryPropertyValidateInterceptor extends java.lang.Object implements ValidateInterceptor<SolrSearchQueryPropertyModel>
-
-
Constructor Summary
Constructors Constructor Description SolrSearchQueryPropertyValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrIndexedPropertyTypeRegistrygetSolrIndexedPropertyTypeRegistry()voidonValidate(SolrSearchQueryPropertyModel solrSearchQueryProperty, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.voidsetSolrIndexedPropertyTypeRegistry(SolrIndexedPropertyTypeRegistry solrIndexedPropertyTypeRegistry)
-
-
-
Method Detail
-
onValidate
public void onValidate(SolrSearchQueryPropertyModel solrSearchQueryProperty, InterceptorContext interceptorContext) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<SolrSearchQueryPropertyModel>- Parameters:
solrSearchQueryProperty- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getSolrIndexedPropertyTypeRegistry
public SolrIndexedPropertyTypeRegistry getSolrIndexedPropertyTypeRegistry()
-
setSolrIndexedPropertyTypeRegistry
public void setSolrIndexedPropertyTypeRegistry(SolrIndexedPropertyTypeRegistry solrIndexedPropertyTypeRegistry)
-
-