Class OrderProductVariantPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.populator.AbstractOrderProductVariantPopulator
-
- de.hybris.platform.sap.productconfig.facades.populator.OrderProductVariantPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderModel,OrderData>
public class OrderProductVariantPopulator extends AbstractOrderProductVariantPopulator implements Populator<AbstractOrderModel,OrderData>
Takes care of populating product variant relevant attributes for order
-
-
Constructor Summary
Constructors Constructor Description OrderProductVariantPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(AbstractOrderModel source, OrderData target)Populate the target instance with values from the source instance.protected voidwriteToTargetEntry(java.util.List<OrderEntryData> targetList, AbstractOrderEntryModel sourceEntry)Writes result to target entry DTO-
Methods inherited from class de.hybris.platform.sap.productconfig.facades.populator.AbstractOrderProductVariantPopulator
adjustTargetEntryForVariant, getCpqConfigurableChecker, getVariantConfigurationInfoProvider, populateAbstractOrderData, setCpqConfigurableChecker, setVariantConfigurationInfoProvider
-
-
-
-
Method Detail
-
populate
public void populate(AbstractOrderModel source, OrderData target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderModel,OrderData>- Parameters:
source- the source objecttarget- the target to fill
-
writeToTargetEntry
protected void writeToTargetEntry(java.util.List<OrderEntryData> targetList, AbstractOrderEntryModel sourceEntry)
Description copied from class:AbstractOrderProductVariantPopulatorWrites result to target entry DTO- Overrides:
writeToTargetEntryin classAbstractOrderProductVariantPopulator- Parameters:
targetList- Order DTO entries, used to get the cart entry DTO via searching for keysourceEntry- Order entry model
-
-