Interface ShippingOrderPositionService

All Known Implementing Classes:
ShippingOrderPositionServiceImpl

public interface ShippingOrderPositionService
A ShippingOrderPositionService manages representations of ShippingOrderPositions.
Author:
Heiko Scherrer
  • Method Details

    • findByPKey

      @NotNull @NotNull AbstractShippingOrderPosition findByPKey(@NotBlank @NotBlank String pKey)
      Find and return a ShippingOrderPosition.
      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 existing ShippingOrderPosition.
      Parameters:
      pKey - The persistent identifier of the ShippingOrderPosition instance to change the state for
      orderState - The new order state to set
      Returns:
      The updated instance