Class BundleRemoveEntryGroupMethodHook
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.order.hook.BundleRemoveEntryGroupMethodHook
-
- All Implemented Interfaces:
CommerceRemoveEntryGroupMethodHook
public class BundleRemoveEntryGroupMethodHook extends java.lang.Object implements CommerceRemoveEntryGroupMethodHook
Remove entry group method hook which forbids removal of non-root entry groups ofGroupType.CONFIGURABLEBUNDLEtype.
-
-
Constructor Summary
Constructors Constructor Description BundleRemoveEntryGroupMethodHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterRemoveEntryGroup(RemoveEntryGroupParameter parameter, CommerceCartModification result)Executed after commerce remove entry groupvoidbeforeRemoveEntryGroup(RemoveEntryGroupParameter parameter)Executed before commerce remove entry gtoupprotected EntryGroupServicegetEntryGroupService()voidsetEntryGroupService(EntryGroupService entryGroupService)
-
-
-
Method Detail
-
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
protected EntryGroupService getEntryGroupService()
-
setEntryGroupService
public void setEntryGroupService(EntryGroupService entryGroupService)
-
-