Class ProductPriceRegisterForRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.servicelayer.interceptor.impl.PartOfModelRegisterForRemoveInterceptor
-
- de.hybris.platform.servicelayer.interceptor.impl.ProductPriceRegisterForRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class ProductPriceRegisterForRemoveInterceptor extends PartOfModelRegisterForRemoveInterceptor
Special PartOfModelRegisterForRemoveInterceptor for ProductModel.europe1price, ProductModel.europe1tax and ProductModel.europe1discount. Only thosePDTRowModelare deleted which have the back-reference to theProductModel. This is the same behaviour as in the Europe1PriceFactory.
-
-
Constructor Summary
Constructors Constructor Description ProductPriceRegisterForRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidregisterForRemoval(InterceptorContext ctx, ItemModel parentModel, ItemModel subModel, java.lang.String partOfAttrQualifier)Hook-in method for special attribute dealing.-
Methods inherited from class de.hybris.platform.servicelayer.interceptor.impl.PartOfModelRegisterForRemoveInterceptor
excludeIgnoredFromPartOfAttributes, extractAndRegisterForRemoval, onRemove, setIgnoreAttributes, setTypeService
-
-
-
-
Method Detail
-
registerForRemoval
protected void registerForRemoval(InterceptorContext ctx, ItemModel parentModel, ItemModel subModel, java.lang.String partOfAttrQualifier)
Description copied from class:PartOfModelRegisterForRemoveInterceptorHook-in method for special attribute dealing. This method here callsInterceptorContext.registerElement(Object, Object)with the parameters:submodel, null. Overwrite this method to execute your own logic for a given partOf attribute.- Overrides:
registerForRemovalin classPartOfModelRegisterForRemoveInterceptor- Parameters:
ctx- the Interceptor context. Thesubmodelwill be registered to it.parentModel- this is the model which has the part-of attributesubModel- the content of the part-of attribute from theparentModelpartOfAttrQualifier- the attribute qualifier of the part-of attribute
-
-