Class AllocationServiceImpl
java.lang.Object
org.openwms.wms.inventory.allocation.impl.AllocationServiceImpl
- All Implemented Interfaces:
 AllocationService
A AllocationServiceImpl.
- Author:
 - Heiko Scherrer
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Allocatorprivate static final org.slf4j.Loggerprivate final PackagingUnitServiceprivate final ProductService - 
Constructor Summary
ConstructorsConstructorDescriptionAllocationServiceImpl(ProductService productService, PackagingUnitService packagingUnitService, Allocator allocation)  - 
Method Summary
 
- 
Field Details
- 
ALLOCATION_LOGGER
private static final org.slf4j.Logger ALLOCATION_LOGGER - 
productService
 - 
packagingUnitService
 - 
allocation
 
 - 
 - 
Constructor Details
- 
AllocationServiceImpl
AllocationServiceImpl(ProductService productService, PackagingUnitService packagingUnitService, Allocator allocation)  
 - 
 - 
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 theamountof products identified withsku.- Specified by:
 allocatein interfaceAllocationService- Parameters:
 amount- The amount to allocatesku- The Products SKUsourceLocationGroupNames- The list of LocationGroup names wherein the article shall be allocated- Returns:
 - A list with all possible Allocations
 
 
 -