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