Package org.openwms.wms.transport
Interface TransportUnitSynchronizer
- All Superinterfaces:
Synchronizer<TransportUnit>
- All Known Implementing Classes:
TransportUnitSynchronizerImpl
A TransportUnitSynchronizer.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeState
(@NotBlank String foreignPKey, @NotBlank String state) Change the availability state of aTransportUnit
.void
move
(@NotBlank String foreignPKey, @NotBlank String actualLocation, @NotNull LocalDateTime actualLocationDate) Move an existingTransportUnit
to a newLocation
.void
update
(@NotNull org.openwms.common.transport.api.messages.TransportUnitMO mo) Update aTransportUnit
with values from the golden source.Methods inherited from interface org.openwms.wms.transport.Synchronizer
synchronize
-
Method Details
-
move
void move(@NotBlank @NotBlank String foreignPKey, @NotBlank @NotBlank String actualLocation, @NotNull @NotNull LocalDateTime actualLocationDate) Move an existingTransportUnit
to a newLocation
.- Parameters:
foreignPKey
- The persistent key of the TransportUnit on the golden sourceactualLocation
- The locationId of the new actualLocationactualLocationDate
- Since when the TransportUnit is on the actualLocation
-
update
void update(@NotNull @NotNull org.openwms.common.transport.api.messages.TransportUnitMO mo) Update aTransportUnit
with values from the golden source.- Parameters:
mo
- The message object containing all the TransportUnit information
-
changeState
Change the availability state of aTransportUnit
.- Parameters:
foreignPKey
- The persistent key of the TransportUnit on the golden sourcestate
- The new state to change to
-