Class AsSearchProfileActivationSetInterceptor
java.lang.Object
de.hybris.platform.adaptivesearch.model.interceptors.AbstractAsInterceptor
de.hybris.platform.adaptivesearch.model.interceptors.AsSearchProfileActivationSetInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<AsSearchProfileActivationSetModel>
public class AsSearchProfileActivationSetInterceptor
extends AbstractAsInterceptor
implements ValidateInterceptor<AsSearchProfileActivationSetModel>
Interceptor for
AsSearchProfileActivationSetModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(AsSearchProfileActivationSetModel searchProfileActivationSet, InterceptorContext context) Called in themodelService.saveAll()method.Methods inherited from class de.hybris.platform.adaptivesearch.model.interceptors.AbstractAsInterceptor
decorateIdentifier, generateItemIdentifier, generateUid, getAsItemModelHelper, getAsSearchProviderFactory, getAsUidGenerator, getModelService, getNewPkForNotSavedItem, markItemAsModified, resolveAndValidateSearchConfiguration, resolveAndValidateSearchProfile, resolveSearchConfiguration, resolveSearchProfile, resolveSearchProvider, setAsItemModelHelper, setAsSearchProviderFactory, setAsUidGenerator, setModelService
-
Constructor Details
-
AsSearchProfileActivationSetInterceptor
public AsSearchProfileActivationSetInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(AsSearchProfileActivationSetModel searchProfileActivationSet, InterceptorContext context) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<AsSearchProfileActivationSetModel>- Parameters:
searchProfileActivationSet- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-