Class BackofficeIndexedTypeToSolrFacetSearchConfigValidator
- java.lang.Object
-
- com.hybris.backoffice.solrsearch.validators.BackofficeIndexedTypeToSolrFacetSearchConfigValidator
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<BackofficeIndexedTypeToSolrFacetSearchConfigModel>
public class BackofficeIndexedTypeToSolrFacetSearchConfigValidator extends java.lang.Object implements ValidateInterceptor<BackofficeIndexedTypeToSolrFacetSearchConfigModel>
-
-
Constructor Summary
Constructors Constructor Description BackofficeIndexedTypeToSolrFacetSearchConfigValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(BackofficeIndexedTypeToSolrFacetSearchConfigModel config, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(BackofficeIndexedTypeToSolrFacetSearchConfigModel config, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<BackofficeIndexedTypeToSolrFacetSearchConfigModel>- Parameters:
config- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-