Class DefaultWarehousingShippingService
java.lang.Object
de.hybris.platform.warehousing.shipping.service.impl.DefaultWarehousingShippingService
- All Implemented Interfaces:
WarehousingShippingService
Default implementation of
WarehousingShippingService-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfirmPickupConsignment(ConsignmentModel consignment) Confirms the pickup ofConsignmentModelvoidconfirmShipConsignment(ConsignmentModel consignment) Confirms the shipping ofConsignmentModelprotected ModelServiceprotected List<ConsignmentStatus>protected List<OrderStatus>protected WarehousingConsignmentWorkflowServicebooleanisConsignmentConfirmable(ConsignmentModel consignment) Checks if the confirm ship/pickup is possible for the givenConsignmentModelvoidsetModelService(ModelService modelService) voidsetValidConsConfirmConsignmentStatusList(List<ConsignmentStatus> validConsConfirmConsignmentStatusList) voidsetValidConsConfirmOrderStatusList(List<OrderStatus> validConsConfirmOrderStatusList) voidsetWarehousingConsignmentWorkflowService(WarehousingConsignmentWorkflowService warehousingConsignmentWorkflowService)
-
Field Details
-
CONFIRM_SHIP_CONSIGNMENT_CHOICE
- See Also:
-
CONFIRM_PICKUP_CONSIGNMENT_CHOICE
- See Also:
-
SHIPPING_TEMPLATE_CODE
- See Also:
-
PICKUP_TEMPLATE_CODE
- See Also:
-
-
Constructor Details
-
DefaultWarehousingShippingService
public DefaultWarehousingShippingService()
-
-
Method Details
-
isConsignmentConfirmable
Description copied from interface:WarehousingShippingServiceChecks if the confirm ship/pickup is possible for the givenConsignmentModel- Specified by:
isConsignmentConfirmablein interfaceWarehousingShippingService- Parameters:
consignment- theConsignmentModelto be confirmed- Returns:
- boolean to indicate if confirmation of the given consignment is possible
-
confirmShipConsignment
Description copied from interface:WarehousingShippingServiceConfirms the shipping ofConsignmentModel- Specified by:
confirmShipConsignmentin interfaceWarehousingShippingService- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-
confirmPickupConsignment
Description copied from interface:WarehousingShippingServiceConfirms the pickup ofConsignmentModel- Specified by:
confirmPickupConsignmentin interfaceWarehousingShippingService- Parameters:
consignment- theConsignmentModelto be confirmed- Throws:
BusinessProcessException- when associated process cannot move to the confirmation state
-
getValidConsConfirmConsignmentStatusList
-
setValidConsConfirmConsignmentStatusList
public void setValidConsConfirmConsignmentStatusList(List<ConsignmentStatus> validConsConfirmConsignmentStatusList) -
getValidConsConfirmOrderStatusList
-
setValidConsConfirmOrderStatusList
-
getModelService
-
setModelService
-
getWarehousingConsignmentWorkflowService
-
setWarehousingConsignmentWorkflowService
public void setWarehousingConsignmentWorkflowService(WarehousingConsignmentWorkflowService warehousingConsignmentWorkflowService)
-