Class AsSimpleSearchConfigurationInterceptor
- java.lang.Object
-
- de.hybris.platform.adaptivesearch.model.interceptors.AbstractAsInterceptor
-
- de.hybris.platform.adaptivesearch.model.interceptors.AsSimpleSearchConfigurationInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<AsSimpleSearchConfigurationModel>
public class AsSimpleSearchConfigurationInterceptor extends AbstractAsInterceptor implements PrepareInterceptor<AsSimpleSearchConfigurationModel>
Interceptor forAsSimpleSearchConfigurationModel.
-
-
Constructor Summary
Constructors Constructor Description AsSimpleSearchConfigurationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(AsSimpleSearchConfigurationModel searchConfiguration, InterceptorContext context)Called in themodelService.saveAll()method.protected voidupdateUniqueIdx(AsSimpleSearchConfigurationModel searchConfiguration)-
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
-
-
-
-
Method Detail
-
onPrepare
public void onPrepare(AsSimpleSearchConfigurationModel searchConfiguration, InterceptorContext context) throws InterceptorException
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<AsSimpleSearchConfigurationModel>- Parameters:
searchConfiguration- the model which values has to be preparedcontext- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
updateUniqueIdx
protected void updateUniqueIdx(AsSimpleSearchConfigurationModel searchConfiguration)
-
-