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