Class DefaultWarehousingShippingService
- java.lang.Object
-
- de.hybris.platform.warehousing.shipping.service.impl.DefaultWarehousingShippingService
-
- All Implemented Interfaces:
WarehousingShippingService
public class DefaultWarehousingShippingService extends java.lang.Object implements WarehousingShippingService
Default implementation ofWarehousingShippingService
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCONFIRM_PICKUP_CONSIGNMENT_CHOICEprotected static java.lang.StringCONFIRM_SHIP_CONSIGNMENT_CHOICEprotected static java.lang.StringPICKUP_TEMPLATE_CODEprotected static java.lang.StringSHIPPING_TEMPLATE_CODE
-
Constructor Summary
Constructors Constructor Description DefaultWarehousingShippingService()
-
Method Summary
-
-
-
Field Detail
-
CONFIRM_SHIP_CONSIGNMENT_CHOICE
protected static final java.lang.String CONFIRM_SHIP_CONSIGNMENT_CHOICE
- See Also:
- Constant Field Values
-
CONFIRM_PICKUP_CONSIGNMENT_CHOICE
protected static final java.lang.String CONFIRM_PICKUP_CONSIGNMENT_CHOICE
- See Also:
- Constant Field Values
-
SHIPPING_TEMPLATE_CODE
protected static final java.lang.String SHIPPING_TEMPLATE_CODE
- See Also:
- Constant Field Values
-
PICKUP_TEMPLATE_CODE
protected static final java.lang.String PICKUP_TEMPLATE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isConsignmentConfirmable
public boolean isConsignmentConfirmable(ConsignmentModel consignment)
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
public void confirmShipConsignment(ConsignmentModel consignment) throws BusinessProcessException
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
public void confirmPickupConsignment(ConsignmentModel consignment) throws BusinessProcessException
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
protected java.util.List<ConsignmentStatus> getValidConsConfirmConsignmentStatusList()
-
setValidConsConfirmConsignmentStatusList
public void setValidConsConfirmConsignmentStatusList(java.util.List<ConsignmentStatus> validConsConfirmConsignmentStatusList)
-
getValidConsConfirmOrderStatusList
protected java.util.List<OrderStatus> getValidConsConfirmOrderStatusList()
-
setValidConsConfirmOrderStatusList
public void setValidConsConfirmOrderStatusList(java.util.List<OrderStatus> validConsConfirmOrderStatusList)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getWarehousingConsignmentWorkflowService
protected WarehousingConsignmentWorkflowService getWarehousingConsignmentWorkflowService()
-
setWarehousingConsignmentWorkflowService
public void setWarehousingConsignmentWorkflowService(WarehousingConsignmentWorkflowService warehousingConsignmentWorkflowService)
-
-