Interface SourcingFactorService
-
- All Known Implementing Classes:
DefaultSourcingFactorService
public interface SourcingFactorServiceService used to build/retrieve defined list of sourcing factors
A factor must have a weight associated.
Example:
Sourcing Factor Weight DISTANCE 50 ALLOCATION 30 PRIORITY 20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<SourcingFactor>getAllSourcingFactorsForBaseStore(BaseStoreModel baseStore)Get the list of all the sourcing factors for the givenBaseStoreModel.SourcingFactorgetSourcingFactor(SourcingFactorIdentifiersEnum sourcingFactorId, BaseStoreModel baseStore)Create or retrieve the requested sourcing factor according to the sourcingFactorId and the baseStore given in parameter.
-
-
-
Method Detail
-
getSourcingFactor
SourcingFactor getSourcingFactor(SourcingFactorIdentifiersEnum sourcingFactorId, BaseStoreModel baseStore)
Create or retrieve the requested sourcing factor according to the sourcingFactorId and the baseStore given in parameter.- Parameters:
sourcingFactorId- the identifier of the sourcing factorSourcingFactorIdentifiersEnumbaseStore- the baseStore- Returns:
- the
SourcingFactor
-
getAllSourcingFactorsForBaseStore
java.util.Set<SourcingFactor> getAllSourcingFactorsForBaseStore(BaseStoreModel baseStore)
Get the list of all the sourcing factors for the givenBaseStoreModel.- Parameters:
baseStore- the baseStore- Returns:
- the list of
SourcingFactor
-
-