public class SolrIndexedPropertyValidateInterceptor extends java.lang.Object implements ValidateInterceptor<SolrIndexedPropertyModel>
SolrIndexedPropertyModel. Checks if facet is of allowed type.| Constructor and Description |
|---|
SolrIndexedPropertyValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SolrIndexedPropertyTypeRegistry |
getSolrIndexedPropertyTypeRegistry() |
void |
onValidate(SolrIndexedPropertyModel model,
InterceptorContext interceptorContext)
Called in the
modelService.saveAll() method. |
void |
setSolrIndexedPropertyTypeRegistry(SolrIndexedPropertyTypeRegistry solrIndexedPropertyTypeRegistry) |
public SolrIndexedPropertyValidateInterceptor()
public void onValidate(SolrIndexedPropertyModel model, InterceptorContext interceptorContext) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<SolrIndexedPropertyModel>model - 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.