Class SnIndexConfigurationInterceptor
java.lang.Object
de.hybris.platform.searchservices.core.model.interceptor.AbstractSnInterceptor<SnIndexConfigurationModel>
de.hybris.platform.searchservices.admin.model.interceptor.SnIndexConfigurationInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<SnIndexConfigurationModel>
public class SnIndexConfigurationInterceptor
extends AbstractSnInterceptor<SnIndexConfigurationModel>
Interceptor for
SnIndexConfigurationModel.-
Field Summary
Fields inherited from class de.hybris.platform.searchservices.core.model.interceptor.AbstractSnInterceptor
RESOURCE_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(SnIndexConfigurationModel indexConfiguration, InterceptorContext context) Called in themodelService.saveAll()method.Methods inherited from class de.hybris.platform.searchservices.core.model.interceptor.AbstractSnInterceptor
getL10nService, getLocalizedMessage, getModelService, setL10nService, setModelService, validateIdentifier
-
Constructor Details
-
SnIndexConfigurationInterceptor
public SnIndexConfigurationInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(SnIndexConfigurationModel indexConfiguration, InterceptorContext context) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Parameters:
indexConfiguration- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-