Class BundleRemoveEntryGroupMethodHook
java.lang.Object
de.hybris.platform.configurablebundleservices.order.hook.BundleRemoveEntryGroupMethodHook
- All Implemented Interfaces:
CommerceRemoveEntryGroupMethodHook
public class BundleRemoveEntryGroupMethodHook
extends Object
implements CommerceRemoveEntryGroupMethodHook
Remove entry group method hook which forbids removal of non-root entry groups of
GroupType.CONFIGURABLEBUNDLE type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRemoveEntryGroup(RemoveEntryGroupParameter parameter, CommerceCartModification result) Executed after commerce remove entry groupvoidbeforeRemoveEntryGroup(RemoveEntryGroupParameter parameter) Executed before commerce remove entry gtoupprotected EntryGroupServicevoidsetEntryGroupService(EntryGroupService entryGroupService)
-
Constructor Details
-
BundleRemoveEntryGroupMethodHook
public BundleRemoveEntryGroupMethodHook()
-
-
Method Details
-
beforeRemoveEntryGroup
public void beforeRemoveEntryGroup(RemoveEntryGroupParameter parameter) throws CommerceCartModificationException Description copied from interface:CommerceRemoveEntryGroupMethodHookExecuted before commerce remove entry gtoup- Specified by:
beforeRemoveEntryGroupin interfaceCommerceRemoveEntryGroupMethodHook- Throws:
CommerceCartModificationException
-
afterRemoveEntryGroup
public void afterRemoveEntryGroup(RemoveEntryGroupParameter parameter, CommerceCartModification result) Description copied from interface:CommerceRemoveEntryGroupMethodHookExecuted after commerce remove entry group- Specified by:
afterRemoveEntryGroupin interfaceCommerceRemoveEntryGroupMethodHook
-
getEntryGroupService
-
setEntryGroupService
-