Class NoRestrictionsStrategy
java.lang.Object
de.hybris.platform.warehousing.sourcing.strategy.AbstractSourcingStrategy
de.hybris.platform.warehousing.sourcing.strategy.impl.NoRestrictionsStrategy
- All Implemented Interfaces:
SourcingStrategy
Strategy allows an order to be split into multiple locations. The strategy creates sources for order entry based on
location availability.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateSourcingResult(SourcingContext sourcingContext, AbstractOrderEntryModel orderEntry, SourcingLocation fitnessSourcingLocation) It creates a sourcing resultprotected FitnessServicevoidsetFitnessService(FitnessService fitnessService) voidsource(SourcingContext sourcingContext) Determine which order entries/order item quantities should be sourced from which sourcing locations.Methods inherited from class de.hybris.platform.warehousing.sourcing.strategy.AbstractSourcingStrategy
checkSourceCompleted, getAvailabilityForProduct, getQuantitySourced, getSourcingResultFactory, isTerminal, setSourcingResultFactory, setTerminal
-
Constructor Details
-
NoRestrictionsStrategy
public NoRestrictionsStrategy()
-
-
Method Details
-
source
Description copied from interface:SourcingStrategyDetermine which order entries/order item quantities should be sourced from which sourcing locations.- Parameters:
sourcingContext- - the sourcing context; cannot be null
-
createSourcingResult
protected void createSourcingResult(SourcingContext sourcingContext, AbstractOrderEntryModel orderEntry, SourcingLocation fitnessSourcingLocation) It creates a sourcing result- Parameters:
sourcingContext- theSourcingContextorderEntry- theAbstractOrderEntryModelfitnessSourcingLocation- theSourcingLocation
-
getFitnessService
-
setFitnessService
-