Package org.openwms.wms.inventory
Interface PackagingUnitCreator
- All Known Implementing Classes:
PackagingUnitCreatorImpl
public interface PackagingUnitCreator
A PackagingUnitCreator.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(@NotEmpty @Valid List<PackagingUnit> packagingUnits) Create newPackagingUnit
s.create
(@NotNull @Valid PackagingUnit packagingUnit) Create a newPackagingUnit
.createInContainer
(@NotBlank String transportUnitBK, @NotBlank String luPos, @NotNull PackagingUnit packagingUnit, String loadUnitType) Create a newPackagingUnit
with the given packagingUnit that is located in the namedLoadUnit
on the namedTransportUnit
.void
createMultipleInContainer
(@NotBlank String transportUnitBK, @NotBlank String luPos, @NotEmpty List<PackagingUnit> packagingUnits, String loadUnitType)
-
Method Details
-
createInContainer
PackagingUnit createInContainer(@NotBlank @NotBlank String transportUnitBK, @NotBlank @NotBlank String luPos, @NotNull @NotNull PackagingUnit packagingUnit, String loadUnitType) Create a newPackagingUnit
with the given packagingUnit that is located in the namedLoadUnit
on the namedTransportUnit
.- Parameters:
transportUnitBK
- The business key of the TransportUnit the PackagingUnit is carried onluPos
- The position of the LoadUnit within the TransportUnitpackagingUnit
- The PackagingUnit to createloadUnitType
- In case the LoadUnit needs to be created this is the type that is used- Returns:
- The created instance
-
createMultipleInContainer
void createMultipleInContainer(@NotBlank @NotBlank String transportUnitBK, @NotBlank @NotBlank String luPos, @NotEmpty @NotEmpty List<PackagingUnit> packagingUnits, String loadUnitType) - Parameters:
transportUnitBK
- The business key of the TransportUnit the PackagingUnits are carried onluPos
- The position of the LoadUnit within the TransportUnitpackagingUnits
- The PackagingUnits to createloadUnitType
- In case the LoadUnit needs to be created this is the type that is used
-
create
Create a newPackagingUnit
.- Parameters:
packagingUnit
- The PackagingUnit to create- Returns:
- The created instance
-
create
Create newPackagingUnit
s.- Parameters:
packagingUnits
- The PackagingUnits to create- Returns:
- The created instances
-