Class SolrSearchQueryTemplateValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.interceptors.SolrSearchQueryTemplateValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<SolrSearchQueryTemplateModel>
public class SolrSearchQueryTemplateValidateInterceptor extends java.lang.Object implements ValidateInterceptor<SolrSearchQueryTemplateModel>
-
-
Constructor Summary
Constructors Constructor Description SolrSearchQueryTemplateValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(SolrSearchQueryTemplateModel solrSearchQueryTemplate, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
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.
-
-