Class DefaultOutboundItemFactory
java.lang.Object
de.hybris.platform.outboundsync.job.impl.DefaultOutboundItemFactory
- All Implemented Interfaces:
OutboundItemFactory
Default implementation of the
OutboundItemFactory-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateItem(OutboundItemDTO itemDto) Creates new instance of anOutboundItemprotected ModelServiceDeprecated, for removal: This API element is subject to removal in a future version.do not rely on the current dependencies of this factory implementation - it may change any time.voidsetDescriptorFactory(DescriptorFactory factory) voidsetModelService(ModelService service)
-
Constructor Details
-
DefaultOutboundItemFactory
public DefaultOutboundItemFactory()
-
-
Method Details
-
createItem
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
Deprecated, for removal: This API element is subject to removal in a future version.do not rely on the current dependencies of this factory implementation - it may change any time. OverridesetModelService(ModelService)method if you need to use it in your subclass. Or better yet, prefer composition to inheritance and reuse code by wrapping it instead of subclassing.Retrieves model service dependency of this factory- Returns:
- model service implementation used by this factory
-
setModelService
-
setDescriptorFactory
-