Class SplitByTraveller
java.lang.Object
de.hybris.platform.travelfulfilmentprocess.strategy.impl.SplitByTraveller
- All Implemented Interfaces:
de.hybris.platform.ordersplitting.strategy.SplittingStrategy
public class SplitByTraveller
extends Object
implements de.hybris.platform.ordersplitting.strategy.SplittingStrategy
Strategy Class to split and group the OrderEntryGroup based on Travellers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterSplitting(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup group, ConsignmentModel createdOne) protected TravellerServiceGets traveller service.List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup>voidsetTravellerService(TravellerService travellerService) Sets traveller service.protected List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup>splitByTraveller(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup orderEntryList) Split by traveller list.
-
Constructor Details
-
SplitByTraveller
public SplitByTraveller()
-
-
Method Details
-
perform
public List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> perform(List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> orderEntryGroup) - Specified by:
performin interfacede.hybris.platform.ordersplitting.strategy.SplittingStrategy
-
splitByTraveller
protected List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> splitByTraveller(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup orderEntryList) Split by traveller list.- Parameters:
orderEntryList- the order entry list- Returns:
- the list
-
afterSplitting
public void afterSplitting(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup group, ConsignmentModel createdOne) - Specified by:
afterSplittingin interfacede.hybris.platform.ordersplitting.strategy.SplittingStrategy
-
getTravellerService
Gets traveller service.- Returns:
- the travellerService
-
setTravellerService
Sets traveller service.- Parameters:
travellerService- the travellerService to set
-