Package org.openwms.tms.routing.routes
Interface RouteService
- All Known Implementing Classes:
RouteServiceImpl
public interface RouteService
A RouteService operates on
Routes.- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoidchangeRoute(String routeId) Changes the determined route due to error etc.findByRouteId(@NotBlank String routeId) Find and return aRouteidentified by its givenrouteId.booleanrouteExistsWithLocationId(@NotBlank String locationId) Checks if aRouteexists that uses aLocationwith the givenlocationId.voidSend a RES_ telegram to the next location that is defined in the static Route Details.
-
Method Details
-
findByRouteId
Find and return aRouteidentified by its givenrouteId.- Parameters:
routeId- The route id- Returns:
- The instance (optional)
-
routeExistsWithLocationId
Checks if aRouteexists that uses aLocationwith the givenlocationId.- Parameters:
locationId- The location ID to check for.- Returns:
trueif a route exists with the given location ID,falseotherwise.- Throws:
IllegalArgumentException- if the parameter 'locationId' is blank.
-
sendToNextLocation
void sendToNextLocation()Send a RES_ telegram to the next location that is defined in the static Route Details. -
changeRoute
Changes the determined route due to error etc.- Parameters:
routeId- The route id
-