Interface WarehousingShippingService
- All Known Implementing Classes:
DefaultWarehousingShippingService
public interface WarehousingShippingService
Service to confirm ship/pickup of
ConsignmentModel-
Method Summary
Modifier and TypeMethodDescriptionvoidconfirmPickupConsignment(ConsignmentModel consignment) Confirms the pickup ofConsignmentModelvoidconfirmShipConsignment(ConsignmentModel consignment) Confirms the shipping ofConsignmentModelbooleanisConsignmentConfirmable(ConsignmentModel consignment) Checks if the confirm ship/pickup is possible for the givenConsignmentModel
-
Method Details
-
isConsignmentConfirmable
Checks if the confirm ship/pickup is possible for the givenConsignmentModel- Parameters:
consignment- theConsignmentModelto be confirmed- Returns:
- boolean to indicate if confirmation of the given consignment is possible
-
confirmShipConsignment
Confirms the shipping ofConsignmentModel- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-
confirmPickupConsignment
Confirms the pickup ofConsignmentModel- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-