Class DefaultOneOrderOSINOrderItemsPopulator
java.lang.Object
de.hybris.platform.oneorderfacades.populators.oneorder.osin.DefaultOneOrderOSINOrderItemsPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<OrderModel,OrderType>
public class DefaultOneOrderOSINOrderItemsPopulator
extends Object
implements de.hybris.platform.converters.Populator<OrderModel,OrderType>
The One Order Sales Information Notification populator for order items list in OrderType.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<OrderItemType>createAncillaryOrderItems(OrderModel orderModel) Create a list of order items from all the entries having the entryGroupNumbers list empty.protected List<OrderItemType>createOrderItemsFromBundleEntriesList(OrderModel orderModel) Create a list of order items from all the entries having a entryGroupNumbers list not empty.protected OneOrderOSINOrderItemTypePipelineManagerGets the oneOrderOSINOrderItemTypePipelineManagervoidpopulate(OrderModel source, OrderType target) voidsetOneOrderOSINOrderItemTypePipelineManager(OneOrderOSINOrderItemTypePipelineManager oneOrderOSINOrderItemTypePipelineManager) Sets the oneOrderOSINOrderItemTypePipelineManager
-
Constructor Details
-
DefaultOneOrderOSINOrderItemsPopulator
public DefaultOneOrderOSINOrderItemsPopulator()
-
-
Method Details
-
populate
public void populate(OrderModel source, OrderType target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException - Specified by:
populatein interfacede.hybris.platform.converters.Populator<OrderModel,OrderType> - Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-
createOrderItemsFromBundleEntriesList
Create a list of order items from all the entries having a entryGroupNumbers list not empty.- Parameters:
orderModel- the orderModel- Returns:
- a list of orderItemTypes
-
createAncillaryOrderItems
Create a list of order items from all the entries having the entryGroupNumbers list empty.- Parameters:
orderModel- the orderModel- Returns:
- a list of orderItemTypes
-
getOneOrderOSINOrderItemTypePipelineManager
Gets the oneOrderOSINOrderItemTypePipelineManager- Returns:
- the oneOrderOSINOrderItemTypePipelineManager
-
setOneOrderOSINOrderItemTypePipelineManager
public void setOneOrderOSINOrderItemTypePipelineManager(OneOrderOSINOrderItemTypePipelineManager oneOrderOSINOrderItemTypePipelineManager) Sets the oneOrderOSINOrderItemTypePipelineManager- Parameters:
oneOrderOSINOrderItemTypePipelineManager- the oneOrderOSINOrderItemTypePipelineManager
-