Class CPSConfigurationChangeAdapterImpl

java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.CPSConfigurationChangeAdapterImpl
All Implemented Interfaces:
CPSConfigurationChangeAdapter

public class CPSConfigurationChangeAdapterImpl extends Object implements CPSConfigurationChangeAdapter
Default implementation of the CPSConfigurationChangeAdapter
  • Constructor Details

    • CPSConfigurationChangeAdapterImpl

      public CPSConfigurationChangeAdapterImpl()
  • Method Details

    • prepareChangedConfiguration

      public CPSConfiguration prepareChangedConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel model)
      Description copied from interface: CPSConfigurationChangeAdapter
      Prepare changed configuration as input for service from config model
      Specified by:
      prepareChangedConfiguration in interface CPSConfigurationChangeAdapter
      Parameters:
      model - config model
      Returns:
      changes to be sent to service
    • processInstance

      protected CPSItem processInstance(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel instanceModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts)
    • getEmptyValueConstant

      protected String getEmptyValueConstant()
    • collectInstanceCsticChanges

      protected List<CPSCharacteristic> collectInstanceCsticChanges(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel instanceModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts)
    • processCstic

      protected void processCstic(List<CPSCharacteristic> changedCstics, de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts)
    • collectRetractValue

      protected List<CPSValue> collectRetractValue(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel)
    • collectRetractValueTriggeredInConfiguration

      protected void collectRetractValueTriggeredInConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<CPSValue> changedValues)
    • getRetractValueName

      protected String getRetractValueName(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts)
    • collectChangedValues

      protected List<CPSValue> collectChangedValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel)
    • addChangedValue

      protected void addChangedValue(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticValueModel value, List<CPSValue> changedValues)
    • handleDeselection

      protected void handleDeselection(List<CPSValue> changedValues, List<de.hybris.platform.sap.productconfig.runtime.interf.model.CsticValueModel> assignableValues)
    • addCloudEngineValue

      protected void addCloudEngineValue(String value, boolean selected, List<CPSValue> valuesList)