Class TmaCommerceDeleteFromCartStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceRemoveEntryGroupStrategy
-
- de.hybris.platform.b2ctelcoservices.order.impl.TmaCommerceDeleteFromCartStrategy
-
- All Implemented Interfaces:
TmaCartStrategy,de.hybris.platform.commerceservices.order.CommerceRemoveEntryGroupStrategy
public class TmaCommerceDeleteFromCartStrategy extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceRemoveEntryGroupStrategy implements TmaCartStrategy
Cart strategy implementation for deleting product offering from cart.- Since:
- 1907
-
-
Constructor Summary
Constructors Constructor Description TmaCommerceDeleteFromCartStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CommerceCartModification>processCartAction(java.util.List<CommerceCartParameter> commerceCartParameterList)Processes cart updates.protected voidvalidateEntryGroupNumber(CommerceCartParameter parameter)Checks if cart has PO with entry group number provided in parameter.-
Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceRemoveEntryGroupStrategy
afterRemoveEntryGroup, beforeRemoveEntryGroup, createRemoveEntryGroupResp, doRemoveEntryGroup, excludeEntryGroup, getAllSubsequentGroupNumbers, getCommerceRemoveEntryGroupHooks, getConfigurationService, getEntryGroupService, getUpdateCartEntryStrategy, removeEntriesByGroupNumber, removeEntryGroup, setCommerceRemoveEntryGroupHooks, setConfigurationService, setEntryGroupService, setUpdateCartEntryStrategy, validateRemoveEntryGroupParameter
-
-
-
-
Method Detail
-
processCartAction
public java.util.List<CommerceCartModification> processCartAction(java.util.List<CommerceCartParameter> commerceCartParameterList) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
Description copied from interface:TmaCartStrategyProcesses cart updates.- Specified by:
processCartActionin interfaceTmaCartStrategy- Parameters:
commerceCartParameterList- contains attributes used for cart updates- Returns:
- list
CommerceCartModification - Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException- in case of any error occurs during cart update
-
validateEntryGroupNumber
protected void validateEntryGroupNumber(CommerceCartParameter parameter) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
Checks if cart has PO with entry group number provided in parameter.- Parameters:
parameter- contains attributes used for cart entry updates- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException- if the cart does not have the entry group number provided in the parameter
-
-