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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChangedValue(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticValueModel value, List<CPSValue> changedValues) protected voidaddCloudEngineValue(String value, boolean selected, List<CPSValue> valuesList) collectChangedValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel) 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) collectRetractValue(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel) protected voidcollectRetractValueTriggeredInConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<CPSValue> changedValues) protected Stringprotected StringgetRetractValueName(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts) protected voidhandleDeselection(List<CPSValue> changedValues, List<de.hybris.platform.sap.productconfig.runtime.interf.model.CsticValueModel> assignableValues) prepareChangedConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel model) Prepare changed configuration as input for service from config modelprotected voidprocessCstic(List<CPSCharacteristic> changedCstics, de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel csticModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts) protected CPSItemprocessInstance(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel instanceModel, List<de.hybris.platform.sap.productconfig.runtime.interf.model.SolvableConflictModel> conflicts)
-
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:CPSConfigurationChangeAdapterPrepare changed configuration as input for service from config model- Specified by:
prepareChangedConfigurationin interfaceCPSConfigurationChangeAdapter- Parameters:
model- config model- Returns:
- changes to be sent to service
-
processInstance
-
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
-
collectRetractValueTriggeredInConfiguration
-
getRetractValueName
-
collectChangedValues
-
addChangedValue
-
handleDeselection
-
addCloudEngineValue
-