Class ReservationServiceImpl

java.lang.Object
org.openwms.wms.inventory.impl.ReservationServiceImpl
All Implemented Interfaces:
ReservationService

@Validated @TxService class ReservationServiceImpl extends Object implements ReservationService
A ReservationServiceImpl.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • reservationRepository

      private final ReservationRepository reservationRepository
  • Constructor Details

  • Method Details

    • deleteReservation

      @Measured public void deleteReservation(@NotNull @NotNull Long pk)
      Delete a Reservation.
      Specified by:
      deleteReservation in interface ReservationService
      Parameters:
      pk - The primary key of the Reservation
    • deleteReservations

      @Measured public void deleteReservations(@NotBlank @NotBlank String reservationId)
      Delete all Reservations.
      Specified by:
      deleteReservations in interface ReservationService
      Parameters:
      reservationId - For whom the Reservations have been created
    • acknowledgeReservation

      @Measured public void acknowledgeReservation(@NotBlank @NotBlank String reservationId, @NotBlank @NotBlank String acknowledgeId)
      Acknowledge a previously set reservation on a PackagingUnit. If no PackagingUnit is reserved with the reservationId the implementation might silently return without further action.
      Specified by:
      acknowledgeReservation in interface ReservationService
      Parameters:
      reservationId - The previously set reservationId
      acknowledgeId - The acknowledgeId to replace the reservationId with
    • deleteReservationsForPackagingUnits

      @Measured public void deleteReservationsForPackagingUnits(@NotEmpty @NotEmpty List<PackagingUnit> pus)
      Delete existing Reservations for the given PackagingUnits.
      Specified by:
      deleteReservationsForPackagingUnits in interface ReservationService
      Parameters:
      pus - The PackagingUnits