Class SolrSearchQueryTemplateValidateInterceptor
java.lang.Object
de.hybris.platform.solrfacetsearch.interceptors.SolrSearchQueryTemplateValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<SolrSearchQueryTemplateModel>
public class SolrSearchQueryTemplateValidateInterceptor
extends Object
implements ValidateInterceptor<SolrSearchQueryTemplateModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(SolrSearchQueryTemplateModel solrSearchQueryTemplate, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
SolrSearchQueryTemplateValidateInterceptor
public SolrSearchQueryTemplateValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(SolrSearchQueryTemplateModel solrSearchQueryTemplate, InterceptorContext interceptorContext) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<SolrSearchQueryTemplateModel>- Parameters:
solrSearchQueryTemplate- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-