Class DefaultOutboundItemFactory

java.lang.Object
de.hybris.platform.outboundsync.job.impl.DefaultOutboundItemFactory
All Implemented Interfaces:
OutboundItemFactory

public class DefaultOutboundItemFactory extends Object implements OutboundItemFactory
Default implementation of the OutboundItemFactory
  • Constructor Details

    • DefaultOutboundItemFactory

      public DefaultOutboundItemFactory()
  • Method Details

    • createItem

      public OutboundItem createItem(OutboundItemDTO itemDto)
      Description copied from interface: OutboundItemFactory
      Creates new instance of an OutboundItem
      Specified by:
      createItem in interface OutboundItemFactory
      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(since="2205", forRemoval=true) protected ModelService 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. Override setModelService(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

      public void setModelService(ModelService service)
    • setDescriptorFactory

      public void setDescriptorFactory(DescriptorFactory factory)