Class DefaultPickupConsignmentService
- java.lang.Object
-
- de.hybris.platform.ordersplitting.impl.DefaultConsignmentService
-
- de.hybris.platform.acceleratorservices.ordersplitting.impl.DefaultPickupConsignmentService
-
- All Implemented Interfaces:
ConsignmentService
public class DefaultPickupConsignmentService extends DefaultConsignmentService
Extends theDefaultConsignmentServicewith functionality for pickup entries
-
-
Constructor Summary
Constructors Constructor Description DefaultPickupConsignmentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsignmentModelcreateConsignment(AbstractOrderModel order, java.lang.String code, java.util.List<AbstractOrderEntryModel> orderEntries)Creates the consignment.protected ConsignmentStatusgetInitialConsignmentStatus()protected ModelServicegetModelService()voidsetInitialConsignmentStatus(ConsignmentStatus initialConsignmentStatus)voidsetModelService(ModelService modelService)-
Methods inherited from class de.hybris.platform.ordersplitting.impl.DefaultConsignmentService
getWarehouse, setWarehouseService
-
-
-
-
Method Detail
-
createConsignment
public ConsignmentModel createConsignment(AbstractOrderModel order, java.lang.String code, java.util.List<AbstractOrderEntryModel> orderEntries) throws ConsignmentCreationException
Description copied from interface:ConsignmentServiceCreates the consignment.- Specified by:
createConsignmentin interfaceConsignmentService- Overrides:
createConsignmentin classDefaultConsignmentService- Parameters:
order- the order. If Order is instance of OrderModel type then it is taken to relation to created consignmentcode- the codeorderEntries- the order entries- Returns:
- the consignment model
- Throws:
ConsignmentCreationException- in the case of any inconsistency (e.g. warehouses not found)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
- Overrides:
setModelServicein classDefaultConsignmentService
-
getInitialConsignmentStatus
protected ConsignmentStatus getInitialConsignmentStatus()
-
setInitialConsignmentStatus
public void setInitialConsignmentStatus(ConsignmentStatus initialConsignmentStatus)
-
-