Package org.openwms.tms.impl.targets
Class LocationGroupTargetHandler
java.lang.Object
org.openwms.tms.impl.targets.LocationGroupTargetHandler
- All Implemented Interfaces:
TargetHandler<org.openwms.common.location.api.LocationGroupVO>
@Component
class LocationGroupTargetHandler
extends Object
implements TargetHandler<org.openwms.common.location.api.LocationGroupVO>
A LocationGroupTargetHandler.
- Author:
- Heiko Scherrer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getNoTOToTarget
(org.openwms.common.location.api.LocationGroupVO target) Get the number ofTransportOrder
s that are on the way to the specificTarget
.
-
Field Details
-
repository
-
-
Constructor Details
-
LocationGroupTargetHandler
LocationGroupTargetHandler(TransportOrderRepository repository)
-
-
Method Details
-
getNoTOToTarget
@Measured public int getNoTOToTarget(org.openwms.common.location.api.LocationGroupVO target) Get the number ofTransportOrder
s that are on the way to the specificTarget
.- Specified by:
getNoTOToTarget
in interfaceTargetHandler<org.openwms.common.location.api.LocationGroupVO>
- Parameters:
target
- The target to search for- Returns:
- The number of TransportOrders
-