Class PartOfModelRegisterForRemoveInterceptor

java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.PartOfModelRegisterForRemoveInterceptor
All Implemented Interfaces:
Interceptor, RemoveInterceptor
Direct Known Subclasses:
ClassificationClassPartOfRemoveInterceptor, ProductPriceRegisterForRemoveInterceptor

public class PartOfModelRegisterForRemoveInterceptor extends Object implements RemoveInterceptor
This PartOfModelRegisterForRemoveInterceptor checks for the given (to be remove) ItemModel the partOf attributes of this model and add the attribute value (if this is an ItemModel) to the InterceptorContext. This interceptor is invoked by ModelService.removeAll(Collection) and there will be the additionally registered models deleted. For dealing with special part-of attributes (like ProductModel.europe1prices) extend this class and overwrite registerForRemoval(InterceptorContext, ItemModel, ItemModel, String) to implement special behaviour for a given attribute.
  • Constructor Details

    • PartOfModelRegisterForRemoveInterceptor

      public PartOfModelRegisterForRemoveInterceptor()
  • Method Details