Package org.openwms.wms.inventory
Interface PackagingUnitService
- All Known Implementing Classes:
PackagingUnitServiceImpl
public interface PackagingUnitService
A PackagingUnitService.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgeReservation(@NotBlank String reservationId, @NotBlank String acknowledgeId) Acknowledge a previously set reservation on aPackagingUnit.voiddeleteAll(@NotEmpty List<PackagingUnit> packagingUnits) Delete multiplePackagingUnits.voiddeleteByPKey(@NotBlank String pKey) Delete aPackagingUnitidentified by the given pKey.voiddeleteOnLocation(@NotNull DeletePURequestVO request) DeletePackagingUnits on aLocation.voidRelease a lockedPackagingUnit.voidreportProblem(@NotBlank String transportUnitBK, @NotBlank String loadUnitPosition, @NotNull ReportProblemVO problem) Report a Problem onPackagingUnits.@NotNull PackagingUnitsave(@NotNull PackagingUnit packagingUnit) Create or update the givenPackagingUnit.@NotNull PackagingUnitVOupdate(@NotBlank String pKey, @NotNull PackagingUnitVO packagingUnit) Update aPackagingUnit.
-
Method Details
-
acknowledgeReservation
void acknowledgeReservation(@NotBlank @NotBlank String reservationId, @NotBlank @NotBlank String acknowledgeId) Acknowledge a previously set reservation on aPackagingUnit. If noPackagingUnitis reserved with thereservationIdthe implementation might silently return without further action.- Parameters:
reservationId- The previously set reservationIdacknowledgeId- The acknowledgeId to replace the reservationId with
-
update
@NotNull @NotNull PackagingUnitVO update(@NotBlank @NotBlank String pKey, @NotNull @NotNull PackagingUnitVO packagingUnit) Update aPackagingUnit.- Parameters:
pKey- The persistent identifierpackagingUnit- The new representation of the PackagingUnit- Returns:
- The updated instance
-
save
Create or update the givenPackagingUnit.- Parameters:
packagingUnit- The PackagingUnit to create or update- Returns:
- the saved instance
-
reportProblem
void reportProblem(@NotBlank @NotBlank String transportUnitBK, @NotBlank @NotBlank String loadUnitPosition, @NotNull @NotNull ReportProblemVO problem) Report a Problem onPackagingUnits.- Parameters:
transportUnitBK- The TransportUnit where the PackagingUnits are stored inloadUnitPosition- The LoadUnit where the PackagingUnits are stored inproblem- The representation of the problem
-
release
Release a lockedPackagingUnit.- Parameters:
pKey- The persistent key
-
deleteAll
Delete multiplePackagingUnits.- Parameters:
packagingUnits- PackagingUnits to delete
-
deleteOnLocation
DeletePackagingUnits on aLocation.- Parameters:
request- Contains the quantity, the Product and the Location where to delete the PackagingUnits from
-
deleteByPKey
Delete aPackagingUnitidentified by the given pKey.- Parameters:
pKey- The persistent key
-