public class SolrSearchQueryPropertyValidateInterceptor extends java.lang.Object implements ValidateInterceptor<SolrSearchQueryPropertyModel>
| Constructor and Description |
|---|
SolrSearchQueryPropertyValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SolrIndexedPropertyTypeRegistry |
getSolrIndexedPropertyTypeRegistry() |
void |
onValidate(SolrSearchQueryPropertyModel solrSearchQueryProperty,
InterceptorContext interceptorContext)
Called in the
modelService.saveAll() method. |
void |
setSolrIndexedPropertyTypeRegistry(SolrIndexedPropertyTypeRegistry solrIndexedPropertyTypeRegistry) |
public SolrSearchQueryPropertyValidateInterceptor()
public void onValidate(SolrSearchQueryPropertyModel solrSearchQueryProperty, InterceptorContext interceptorContext) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<SolrSearchQueryPropertyModel>solrSearchQueryProperty - the model which values has to be validatedinterceptorContext - the InterceptorContextInterceptorException - if any values of the model are not valid.public SolrIndexedPropertyTypeRegistry getSolrIndexedPropertyTypeRegistry()
public void setSolrIndexedPropertyTypeRegistry(SolrIndexedPropertyTypeRegistry solrIndexedPropertyTypeRegistry)
Copyright © 2018 SAP SE. All Rights Reserved.