Interface WarehousingShippingService
-
- All Known Implementing Classes:
DefaultWarehousingShippingService
public interface WarehousingShippingServiceService to confirm ship/pickup ofConsignmentModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfirmPickupConsignment(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 Detail
-
isConsignmentConfirmable
boolean isConsignmentConfirmable(ConsignmentModel consignment)
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
void confirmShipConsignment(ConsignmentModel consignment) throws BusinessProcessException
Confirms the shipping ofConsignmentModel- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-
confirmPickupConsignment
void confirmPickupConsignment(ConsignmentModel consignment) throws BusinessProcessException
Confirms the pickup ofConsignmentModel- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-
-