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