Interface ConfigurationFacade
- All Known Implementing Classes:
DefaultConfigurationFacade
public interface ConfigurationFacade
Facade serving the interactive CPQ configuration process
-
Method Summary
Modifier and TypeMethodDescriptioncreateConfiguration(String productCode) Create default CPQ configuratin for given productreadConfigurationOverview(String configId) Retrieves CPQ configuration (all tabs/groups) for given configuration idreadConfigurationTab(String configId, Integer tabId, boolean forceSendBusinessContext) Retrieves CPQ configuration tab/group data for given tab idupdateAttribute(String configId, Integer attributeCode, ChangeAttributeValueData changeAttribute, Integer tabId) Updates attribute and retrieves the current CPQ configuration tab/group dataupdateAttributeValueQuantity(String configId, Integer attributeCode, Integer attributeValueId, ChangeAttributeValueQuantityData changeAttributeValueQuantity, Integer tabId) Updates quantity of the attribute value and retrieves the current CPQ configuration tab/group data
-
Method Details
-
createConfiguration
Create default CPQ configuratin for given product- Parameters:
productCode- product code- Returns:
- CPQ configuration data
-
readConfigurationTab
CpqConfigurationData readConfigurationTab(String configId, Integer tabId, boolean forceSendBusinessContext) Retrieves CPQ configuration tab/group data for given tab id- Parameters:
configId- configuration idtabId- tab/group idforceSendBusinessContext- flag indicating force send of the business context to CPQ- Returns:
- CPQ configuration data
-
updateAttribute
CpqConfigurationData updateAttribute(String configId, Integer attributeCode, ChangeAttributeValueData changeAttribute, Integer tabId) Updates attribute and retrieves the current CPQ configuration tab/group data- Parameters:
configId- configuration idattributeCode- standard attribute codechangeAttribute- data structure containing information about updated attribute vaiues or quantitytabId- tab/group id- Returns:
- CPQ configuration data
-
updateAttributeValueQuantity
CpqConfigurationData updateAttributeValueQuantity(String configId, Integer attributeCode, Integer attributeValueId, ChangeAttributeValueQuantityData changeAttributeValueQuantity, Integer tabId) Updates quantity of the attribute value and retrieves the current CPQ configuration tab/group data- Parameters:
configId- configuration idattributeCode- standard attribute codeattributeValueId- attribute value idchangeAttributeValueQuantity- data structure containing information about updated value quantitytabId- tab/group id- Returns:
- CPQ configuration data
-
readConfigurationOverview
Retrieves CPQ configuration (all tabs/groups) for given configuration id- Parameters:
configId- configuration id- Returns:
- CPQ configuration data structures for all tabs
-