Package org.openwms.wms.shipping
Interface ShippingOrderPositionService
- All Known Implementing Classes:
ShippingOrderPositionServiceImpl
public interface ShippingOrderPositionService
A ShippingOrderPositionService manages representations of ShippingOrderPositions.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescription@NotNull AbstractShippingOrderPosition
changeState
(@NotBlank String pKey, @NotNull OrderState orderState) Change the state of an existingShippingOrderPosition
.@NotNull AbstractShippingOrderPosition
findByPKey
(@NotBlank String pKey) Find and return aShippingOrderPosition
.
-
Method Details
-
findByPKey
Find and return aShippingOrderPosition
.- Parameters:
pKey
- The persistent key of the position- Returns:
- The instance, never null
-
changeState
@NotNull @NotNull AbstractShippingOrderPosition changeState(@NotBlank @NotBlank String pKey, @NotNull @NotNull OrderState orderState) Change the state of an existingShippingOrderPosition
.- Parameters:
pKey
- The persistent identifier of the ShippingOrderPosition instance to change the state fororderState
- The new order state to set- Returns:
- The updated instance
-