Class SnSearchProviderConfigurationInterceptor
java.lang.Object
de.hybris.platform.searchservices.core.model.interceptor.AbstractSnInterceptor<AbstractSnSearchProviderConfigurationModel>
de.hybris.platform.searchservices.spi.model.interceptor.SnSearchProviderConfigurationInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<AbstractSnSearchProviderConfigurationModel>
public class SnSearchProviderConfigurationInterceptor
extends AbstractSnInterceptor<AbstractSnSearchProviderConfigurationModel>
implements ValidateInterceptor<AbstractSnSearchProviderConfigurationModel>
Interceptor for
SnSearchProviderConfigurationModel.-
Field Summary
Fields inherited from class de.hybris.platform.searchservices.core.model.interceptor.AbstractSnInterceptor
RESOURCE_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(AbstractSnSearchProviderConfigurationModel searchProviderConfiguration, 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
-
SnSearchProviderConfigurationInterceptor
public SnSearchProviderConfigurationInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(AbstractSnSearchProviderConfigurationModel searchProviderConfiguration, InterceptorContext context) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<AbstractSnSearchProviderConfigurationModel>- Parameters:
searchProviderConfiguration- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-