Class CPQSalesDocumentERPHook
java.lang.Object
de.hybris.platform.sap.sapproductconfigsombol.hook.CPQSalesDocumentERPHook
- All Implemented Interfaces:
SalesDocumentERPHook
Hook for SalesDocumentERP for after read and write document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterReadFromBackend(SalesDocument salesDocument, JCoConnection aJCoCon) voidafterWriteDocument(SalesDocument salesDocument, JCoConnection aJCoCon) Write product configuration data to the back end.determineConfigurableItems(SalesDocument salesDocument) protected booleanisOrder(SalesDocument salesDocument) voidsetcPQSalesDocumentImpl(CPQSalesDocumentImpl cPQSalesDocumentImpl) voidsetProductConfigurationStrategy(ProductConfigurationStrategy productConfigurationStrategy)
-
Constructor Details
-
CPQSalesDocumentERPHook
public CPQSalesDocumentERPHook()
-
-
Method Details
-
afterWriteDocument
Write product configuration data to the back end.- Specified by:
afterWriteDocumentin interfaceSalesDocumentERPHook- Parameters:
salesDocument- Document containing items which might have a configuration attached.
-
afterReadFromBackend
- Specified by:
afterReadFromBackendin interfaceSalesDocumentERPHook
-
isOrder
-
getProductConfigurationStrategy
- Returns:
- Stratey for dealing with configurable products
-
setProductConfigurationStrategy
public void setProductConfigurationStrategy(ProductConfigurationStrategy productConfigurationStrategy) - Parameters:
productConfigurationStrategy- the productConfigurationStrategy to set
-
determineConfigurableItems
-
getcPQSalesDocumentImpl
- Returns:
- the cPQSalesDocumentImpl
-
setcPQSalesDocumentImpl
- Parameters:
cPQSalesDocumentImpl- the cPQSalesDocumentImpl to set
-