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