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(@NotNull @Valid PackagingUnit packagingUnit) Create a newPackagingUnit.createInContainer(@NotBlank String transportUnitBK, @NotBlank String luPos, @NotNull PackagingUnit packagingUnit, String loadUnitType) Create a newPackagingUnitwith the given packagingUnit that is located in the namedLoadUniton the namedTransportUnit.voidcreateMultipleInContainer(@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 newPackagingUnitwith the given packagingUnit that is located in the namedLoadUniton 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
-