Class ClassificationClassPartOfRemoveInterceptor
java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.PartOfModelRegisterForRemoveInterceptor
de.hybris.platform.classification.interceptors.ClassificationClassPartOfRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class ClassificationClassPartOfRemoveInterceptor
extends PartOfModelRegisterForRemoveInterceptor
-
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
-
ClassificationClassPartOfRemoveInterceptor
public ClassificationClassPartOfRemoveInterceptor()
-
-
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
-