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 -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(AbstractOrderModel source, OrderData target) Populate the target instance with values from the source instance.protected voidwriteToTargetEntry(List<OrderEntryData> targetList, AbstractOrderEntryModel sourceEntry) Writes result to target entry DTOMethods inherited from class de.hybris.platform.sap.productconfig.facades.populator.AbstractOrderProductVariantPopulator
adjustTargetEntryForVariant, getCpqConfigurableChecker, getVariantConfigurationInfoProvider, populateAbstractOrderData, setCpqConfigurableChecker, setVariantConfigurationInfoProvider
-
Constructor Details
-
OrderProductVariantPopulator
public OrderProductVariantPopulator()
-
-
Method Details
-
populate
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(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
-