Class DefaultStandardOrderEntryPopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.converters.populator.OrderEntryPopulator
-
- de.hybris.platform.sap.sapordermgmtcfgfacades.cart.populator.DefaultStandardOrderEntryPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderEntryModel,OrderEntryData>
public class DefaultStandardOrderEntryPopulator extends OrderEntryPopulator
Populates SAP specific attributes we need for the back end downtime scenario
-
-
Constructor Summary
Constructors Constructor Description DefaultStandardOrderEntryPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductConfigurationSomServicegetProductConfigurationService()protected booleanisConfigurationSessionAvailable(java.lang.String itemKey)Returns true if a item with the itemKey has is found in the sessionvoidpopulate(AbstractOrderEntryModel source, OrderEntryData target)Populate the target instance with values from the source instance.voidsetProductConfigurationService(ProductConfigurationSomService configurationContainer)-
Methods inherited from class de.hybris.platform.commercefacades.order.converters.populator.OrderEntryPopulator
addComments, addCommon, addConfigurations, addDeliveryMode, addEntryGroups, addProduct, addTotals, adjustUpdateable, createPrice, getDeliveryModeConverter, getEntryGroupService, getEntryOrderChecker, getOrderCommentConverter, getPointOfServiceConverter, getPriceDataFactory, getProductConfigurationConverter, getProductConverter, setDeliveryModeConverter, setEntryGroupService, setEntryOrderChecker, setOrderCommentConverter, setPointOfServiceConverter, setPriceDataFactory, setProductConfigurationConverter, setProductConverter
-
-
-
-
Method Detail
-
populate
public void populate(AbstractOrderEntryModel source, OrderEntryData target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderEntryModel,OrderEntryData>- Overrides:
populatein classOrderEntryPopulator- Parameters:
source- the source objecttarget- the target to fill
-
setProductConfigurationService
public void setProductConfigurationService(ProductConfigurationSomService configurationContainer)
- Parameters:
configurationContainer-
-
getProductConfigurationService
public ProductConfigurationSomService getProductConfigurationService()
- Returns:
- Product Configuration Service
-
isConfigurationSessionAvailable
protected boolean isConfigurationSessionAvailable(java.lang.String itemKey)
Returns true if a item with the itemKey has is found in the session- Parameters:
itemKey-- Returns:
- true if the itemKey is found in the session
-
-