Class DefaultOutboundItemFactory
- java.lang.Object
-
- de.hybris.platform.outboundsync.job.impl.DefaultOutboundItemFactory
-
- All Implemented Interfaces:
OutboundItemFactory
public class DefaultOutboundItemFactory extends java.lang.Object implements OutboundItemFactory
Default implementation of theOutboundItemFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultOutboundItemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutboundItemcreateItem(OutboundItemDTO itemDto)Creates new instance of anOutboundItemprotected ModelServicegetModelService()voidsetModelService(ModelService service)
-
-
-
Method Detail
-
createItem
public OutboundItem createItem(OutboundItemDTO itemDto)
Description copied from interface:OutboundItemFactoryCreates new instance of anOutboundItem- Specified by:
createItemin interfaceOutboundItemFactory- Parameters:
itemDto- a data transfer object describing the item to create- Returns:
- a created item object. This object should not be
null, instead an exception can be thrown by the factory implementation.
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService service)
-
-