Class CPSConfigurationChangeAdapterImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.impl.CPSConfigurationChangeAdapterImpl
-
- All Implemented Interfaces:
CPSConfigurationChangeAdapter
public class CPSConfigurationChangeAdapterImpl extends java.lang.Object implements CPSConfigurationChangeAdapter
Default implementation of theCPSConfigurationChangeAdapter
-
-
Constructor Summary
Constructors Constructor Description CPSConfigurationChangeAdapterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCloudEngineValue(java.lang.String value, boolean selected, java.util.List<CPSValue> valuesList)protected java.util.List<CPSValue>collectChangedValues(CsticModel csticModel)protected java.util.List<CPSCharacteristic>collectInstanceCsticChanges(InstanceModel instanceModel, java.util.List<SolvableConflictModel> conflicts)protected java.util.List<CPSValue>collectRetractValue(CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)protected java.lang.StringgetRetractValueName(CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)protected voidhandleDeselection(java.util.List<CPSValue> changedValues, java.util.List<CsticValueModel> assignableValues)CPSConfigurationprepareChangedConfiguration(ConfigModel model)Prepare changed configuration as input for service from config modelprotected voidprocessCstic(java.util.List<CPSCharacteristic> changedCstics, CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)protected CPSItemprocessInstance(InstanceModel instanceModel, java.util.List<SolvableConflictModel> conflicts)
-
-
-
Method Detail
-
prepareChangedConfiguration
public CPSConfiguration prepareChangedConfiguration(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
protected CPSItem processInstance(InstanceModel instanceModel, java.util.List<SolvableConflictModel> conflicts)
-
collectInstanceCsticChanges
protected java.util.List<CPSCharacteristic> collectInstanceCsticChanges(InstanceModel instanceModel, java.util.List<SolvableConflictModel> conflicts)
-
processCstic
protected void processCstic(java.util.List<CPSCharacteristic> changedCstics, CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)
-
collectRetractValue
protected java.util.List<CPSValue> collectRetractValue(CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)
-
getRetractValueName
protected java.lang.String getRetractValueName(CsticModel csticModel, java.util.List<SolvableConflictModel> conflicts)
-
collectChangedValues
protected java.util.List<CPSValue> collectChangedValues(CsticModel csticModel)
-
handleDeselection
protected void handleDeselection(java.util.List<CPSValue> changedValues, java.util.List<CsticValueModel> assignableValues)
-
addCloudEngineValue
protected void addCloudEngineValue(java.lang.String value, boolean selected, java.util.List<CPSValue> valuesList)
-
-