Class ProductConfigurationPlaceOrderHookImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.services.impl.ProductConfigurationPlaceOrderHookImpl
-
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class ProductConfigurationPlaceOrderHookImpl extends java.lang.Object implements CommercePlaceOrderMethodHook
Releases configuration sessions on placing an order
-
-
Constructor Summary
Constructors Constructor Description ProductConfigurationPlaceOrderHookImpl()
-
Method Summary
-
-
-
Method Detail
-
setProductConfigurationService
public void setProductConfigurationService(ProductConfigurationService productConfigurationService)
- Parameters:
productConfigurationService
- the productConfigurationService to set
-
afterPlaceOrder
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed after the place order- Specified by:
afterPlaceOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkoutorderModel
- object containing the order model- Throws:
InvalidCartException
-
prepareForOrderReplication
protected void prepareForOrderReplication(AbstractOrderEntryModel entry)
-
traceCPQAspectsAfterPlaceOrder
protected void traceCPQAspectsAfterPlaceOrder(AbstractOrderModel orderModel)
-
traceCPQAspectsAfterPlaceOrder
protected void traceCPQAspectsAfterPlaceOrder(AbstractOrderEntryModel entry)
-
beforePlaceOrder
public void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed before the place order- Specified by:
beforePlaceOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkout- Throws:
InvalidCartException
-
beforeSubmitOrder
public void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed before the submit order- Specified by:
beforeSubmitOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkoutresult
- object containing the order model- Throws:
InvalidCartException
-
getProductConfigurationService
public ProductConfigurationService getProductConfigurationService()
- Returns:
- product configuration service
-
getAbstractOrderEntryLinkStrategy
protected ConfigurationAbstractOrderEntryLinkStrategy getAbstractOrderEntryLinkStrategy()
-
setAbstractOrderEntryLinkStrategy
public void setAbstractOrderEntryLinkStrategy(ConfigurationAbstractOrderEntryLinkStrategy configurationAbstractOrderEntryLinkStrategy)
-
hasConfigurationAttached
protected boolean hasConfigurationAttached(AbstractOrderEntryModel cartEntry)
-
setConfigurationAbstractOrderIntegrationStrategy
public void setConfigurationAbstractOrderIntegrationStrategy(ConfigurationAbstractOrderIntegrationStrategy configurationAbstractOrderIntegrationStrategy)
- Parameters:
configurationAbstractOrderIntegrationStrategy
-
-
getConfigurationAbstractOrderIntegrationStrategy
protected ConfigurationAbstractOrderIntegrationStrategy getConfigurationAbstractOrderIntegrationStrategy()
-
-