Class RouteServiceImpl

java.lang.Object
org.openwms.tms.routing.routes.RouteServiceImpl
All Implemented Interfaces:
RouteService

@TxService("routing") class RouteServiceImpl extends Object implements RouteService
A RouteServiceImpl is a transactional Spring managed bean that operated on Routes.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • routeExistsWithLocationId

      @Measured public boolean routeExistsWithLocationId(@NotBlank @NotBlank String locationId)
      Checks if a Route exists that uses a Location with the given locationId.
      Specified by:
      routeExistsWithLocationId in interface RouteService
      Parameters:
      locationId - The location ID to check for.
      Returns:
      true if a route exists with the given location ID, false otherwise.
    • sendToNextLocation

      public void sendToNextLocation()
      Send a RES_ telegram to the next location that is defined in the static Route Details.
      Specified by:
      sendToNextLocation in interface RouteService
    • changeRoute

      public void changeRoute(String routeId)
      Changes the determined route due to error etc.
      Specified by:
      changeRoute in interface RouteService
      Parameters:
      routeId - The route id