Class ProductDirectoryRemoveInterceptor
java.lang.Object
com.hybris.merchandising.listeners.ProductDirectoryRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<MerchProductDirectoryConfigModel>
public class ProductDirectoryRemoveInterceptor
extends Object
implements RemoveInterceptor<MerchProductDirectoryConfigModel>
ProductDirectoryRemoveInterceptor is an
RemoveInterceptor for capturing deletion of
MerchProductDirectoryConfigModel items for synchronisation to CDS.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled in themodelService.removeAll()method.voidsetProductDirectoryProcessor(ProductDirectoryProcessor productDirectoryProcessor)
-
Constructor Details
-
ProductDirectoryRemoveInterceptor
public ProductDirectoryRemoveInterceptor()
-
-
Method Details
-
onRemove
public void onRemove(MerchProductDirectoryConfigModel model, InterceptorContext ctx) throws InterceptorException Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor<MerchProductDirectoryConfigModel>- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
setProductDirectoryProcessor
-