Interface PackagingUnitCreator

All Known Implementing Classes:
PackagingUnitCreatorImpl

public interface PackagingUnitCreator
A PackagingUnitCreator.
Author:
Heiko Scherrer
  • Method Details

    • createInContainer

      PackagingUnit createInContainer(@NotBlank @NotBlank String transportUnitBK, @NotBlank @NotBlank String luPos, @NotNull @NotNull PackagingUnit packagingUnit, String loadUnitType)
      Create a new PackagingUnit with the given packagingUnit that is located in the named LoadUnit on the named TransportUnit.
      Parameters:
      transportUnitBK - The business key of the TransportUnit the PackagingUnit is carried on
      luPos - The position of the LoadUnit within the TransportUnit
      packagingUnit - The PackagingUnit to create
      loadUnitType - 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)
      Create multiple PackagingUnits in the named LoadUnit on the named TransportUnit.
      Parameters:
      transportUnitBK - The business key of the TransportUnit the PackagingUnits are carried on
      luPos - The position of the LoadUnit within the TransportUnit
      packagingUnits - The PackagingUnits to create
      loadUnitType - In case the LoadUnit needs to be created this is the type that is used
    • create

      PackagingUnit create(@NotNull @Valid @NotNull @Valid PackagingUnit packagingUnit)
      Create a new PackagingUnit.
      Parameters:
      packagingUnit - The PackagingUnit to create
      Returns:
      The created instance