Class ReservationServiceImpl

java.lang.Object
org.openwms.common.transport.reservation.ReservationServiceImpl
All Implemented Interfaces:
ReservationService

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

  • Constructor Details

  • Method Details

    • saveReservation

      @Measured public void saveReservation(TransportUnitReservation reservation)
      Specified by:
      saveReservation in interface ReservationService
      Parameters:
      reservation - The instance to create or update
    • acknowledgeReservation

      @Measured public void acknowledgeReservation(@NotBlank @NotBlank String reservationId, @NotBlank @NotBlank String acknowledgeId)
      Acknowledge a previously set reservation on a TransportUnit. If no TransportUnit 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