Class AllocationServiceImpl

java.lang.Object
org.openwms.wms.inventory.allocation.impl.AllocationServiceImpl
All Implemented Interfaces:
AllocationService

@Validated @TxService class AllocationServiceImpl extends Object implements AllocationService
A AllocationServiceImpl.
Author:
Heiko Scherrer
  • Field Details

    • ALLOCATION_LOGGER

      private static final org.slf4j.Logger ALLOCATION_LOGGER
    • productService

      private final ProductService productService
    • packagingUnitService

      private final PackagingUnitService packagingUnitService
    • allocation

      private final Allocator allocation
  • Constructor Details

  • Method Details

    • allocate

      @Measured public List<Allocation> allocate(@NotNull @NotNull org.openwms.core.units.api.Measurable amount, @NotEmpty @NotEmpty String sku, List<String> sourceLocationGroupNames)
      Allocate the amount of products identified with sku.
      Specified by:
      allocate in interface AllocationService
      Parameters:
      amount - The amount to allocate
      sku - The Products SKU
      sourceLocationGroupNames - The list of LocationGroup names wherein the article shall be allocated
      Returns:
      A list with all possible Allocations