Class GenericPDTFindValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>
java.lang.Object
de.hybris.platform.order.strategies.calculation.pdt.impl.GenericPDTFindValueInfoStrategy<VALUE,INFO,CRITERIA,MODEL>
- All Implemented Interfaces:
FindPDTValueInfoStrategy<VALUE,INFO, CRITERIA>
- Direct Known Subclasses:
DefaultFindDiscountValueInfoStrategy,DefaultFindPriceValueInfoStrategy,DefaultFindTaxValueInfoStrategy
public class GenericPDTFindValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>
extends Object
implements FindPDTValueInfoStrategy<VALUE,INFO,CRITERIA>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPDTInformation(CRITERIA criteria) Gets the price/discount/tax information.getPDTValues(CRITERIA criteria) Gets the price/discount/tax values.voidsetInformationConverter(PDTConverter<MODEL, INFO, CRITERIA> informationConverter) voidsetInformationModelMatcher(PDTModelMatcher<CRITERIA, MODEL> informationModelMatcher) voidsetInformationPostMatcher(PDTPostMatcher<CRITERIA, MODEL> postInformationMatcher) voidsetValueConverter(PDTConverter<MODEL, VALUE, CRITERIA> valueConverter) voidsetValueModelMatcher(PDTModelMatcher<CRITERIA, MODEL> valueModelMatcher) voidsetValuePostMatcher(PDTPostMatcher<CRITERIA, MODEL> postMatcher)
-
Constructor Details
-
GenericPDTFindValueInfoStrategy
public GenericPDTFindValueInfoStrategy()
-
-
Method Details
-
getPDTValues
Description copied from interface:FindPDTValueInfoStrategyGets the price/discount/tax values.- Specified by:
getPDTValuesin interfaceFindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation, CRITERIA extends PDTCriteria> - Parameters:
criteria- the price/discount/tax criteria.- Returns:
- the price/discount/tax values.
- Throws:
CalculationException- the calculation exception
-
getPDTInformation
Description copied from interface:FindPDTValueInfoStrategyGets the price/discount/tax information.- Specified by:
getPDTInformationin interfaceFindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation, CRITERIA extends PDTCriteria> - Parameters:
criteria- the price/discount/tax criteria.- Returns:
- the price/discount/tax information.
- Throws:
CalculationException- the calculation exception
-
setInformationConverter
-
setValueConverter
-
setValueModelMatcher
-
setInformationModelMatcher
-
setValuePostMatcher
-
setInformationPostMatcher
-