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