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 those
PDTRowModel are deleted which have the back-reference to the
ProductModel. This is the same behaviour as in the Europe1PriceFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidregisterForRemoval(InterceptorContext ctx, ItemModel parentModel, ItemModel subModel, String partOfAttrQualifier) Hook-in method for special attribute dealing.Methods inherited from class de.hybris.platform.servicelayer.interceptor.impl.PartOfModelRegisterForRemoveInterceptor
excludeIgnoredAndDisabledFromPartOfAttributes, excludeIgnoredFromPartOfAttributes, extractAndRegisterForRemoval, getFilteredPartOfAttributes, onRemove, setConfigurationService, setIgnoreAttributes, setPartOfRemovedSessionMarker, setPropertyActionReader, setSessionService, setTypeService
-
Constructor Details
-
ProductPriceRegisterForRemoveInterceptor
public ProductPriceRegisterForRemoveInterceptor()
-
-
Method Details
-
registerForRemoval
protected void registerForRemoval(InterceptorContext ctx, ItemModel parentModel, ItemModel subModel, 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
-