public class DefaultCommerceRemoveEntryGroupStrategy extends java.lang.Object implements CommerceRemoveEntryGroupStrategy
| Constructor and Description |
|---|
DefaultCommerceRemoveEntryGroupStrategy() |
public DefaultCommerceRemoveEntryGroupStrategy()
public CommerceCartModification removeEntryGroup(RemoveEntryGroupParameter parameter) throws CommerceCartModificationException
removeEntryGroup in interface CommerceRemoveEntryGroupStrategyparameter - remove entry group parametersCommerceCartModificationException - if related cart entry wasn't removedprotected CommerceCartModification doRemoveEntryGroup(RemoveEntryGroupParameter parameter) throws CommerceCartModificationException
parameter - remove entry group parameterCommerceCartModificationException - the commerce cart modification exceptionprotected java.util.List<EntryGroup> excludeEntryGroup(java.util.List<EntryGroup> source, java.lang.Integer groupNumber)
protected CommerceCartModification createRemoveEntryGroupResp(RemoveEntryGroupParameter parameter, java.lang.String status)
protected void removeEntriesByGroupNumber(RemoveEntryGroupParameter parameter, java.util.List<java.lang.Integer> groupNumbers) throws CommerceCartModificationException
protected java.util.List<java.lang.Integer> getAllSubsequentGroupNumbers(EntryGroup group)
protected void validateRemoveEntryGroupParameter(RemoveEntryGroupParameter parameters)
protected void beforeRemoveEntryGroup(RemoveEntryGroupParameter parameters) throws CommerceCartModificationException
protected void afterRemoveEntryGroup(RemoveEntryGroupParameter parameters, CommerceCartModification result) throws CommerceCartModificationException
protected java.util.List<CommerceRemoveEntryGroupMethodHook> getCommerceRemoveEntryGroupHooks()
public void setCommerceRemoveEntryGroupHooks(java.util.List<CommerceRemoveEntryGroupMethodHook> commerceRemoveEntryGroupHooks)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected CommerceUpdateCartEntryStrategy getUpdateCartEntryStrategy()
public void setUpdateCartEntryStrategy(CommerceUpdateCartEntryStrategy updateCartEntryStrategy)
protected EntryGroupService getEntryGroupService()
public void setEntryGroupService(EntryGroupService entryGroupService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.