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