Class TransportUnitRemovalHandler

java.lang.Object
org.openwms.tms.impl.removal.TransportUnitRemovalHandler

@TxService class TransportUnitRemovalHandler extends Object
A TransportUnitRemovalHandler updates existing TransportOrders in case a TransportUnit is deleted.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • preRemove

      @Transactional @Measured public void preRemove(org.openwms.common.transport.api.commands.TUCommand command) throws RemovalNotAllowedException
      Throws:
      RemovalNotAllowedException
    • checkForStarted

      protected void checkForStarted(org.openwms.common.transport.api.commands.TUCommand command)
    • cancel

      private void cancel(TransportOrder transportOrder)
    • setProblem

      private void setProblem(TransportOrder transportOrder, Message problem)
    • cancelInitializedOrders

      protected void cancelInitializedOrders(org.openwms.common.transport.api.commands.TUCommand command)
    • unlinkFinishedOrders

      protected void unlinkFinishedOrders(org.openwms.common.transport.api.commands.TUCommand command)
    • unlinkCanceledOrders

      protected void unlinkCanceledOrders(org.openwms.common.transport.api.commands.TUCommand command)