Package org.openwms.wms.location
Interface LocationSynchronizer
- All Known Implementing Classes:
LocationServiceImpl
public interface LocationSynchronizer
A LocationSynchronizer is used to synchronize the state of Locations with the golden source.
- Author:
- Heiko Scherrer
-
Method Summary
-
Method Details
-
create
void create(@NotNull @NotNull org.openwms.common.location.api.messages.LocationMO location) Create a newLocation
on demand.- Parameters:
location
- The instance to create
-
changeState
void changeState(@NotBlank @NotBlank String foreignPKey, Boolean incomingActive, Boolean outgoingActive, Integer plcState) Change the state of aLocation
.- Parameters:
foreignPKey
- The foreign persistent key of the Location instanceincomingActive
- The state for incoming or inbound goodsoutgoingActive
- The state for outgoing or outbound goodsplcState
- The PLC state of the Location
-