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 java.lang.Object implements FindPDTValueInfoStrategy<VALUE,INFO,CRITERIA>
-
-
Constructor Summary
Constructors Constructor Description GenericPDTFindValueInfoStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<INFO>getPDTInformation(CRITERIA criteria)Gets the price/discount/tax information.java.util.List<VALUE>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)
-
-
-
Method Detail
-
getPDTValues
public java.util.List<VALUE> getPDTValues(CRITERIA criteria) throws CalculationException
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
public java.util.List<INFO> getPDTInformation(CRITERIA criteria) throws CalculationException
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
public void setInformationConverter(PDTConverter<MODEL,INFO,CRITERIA> informationConverter)
-
setValueConverter
public void setValueConverter(PDTConverter<MODEL,VALUE,CRITERIA> valueConverter)
-
setValueModelMatcher
public void setValueModelMatcher(PDTModelMatcher<CRITERIA,MODEL> valueModelMatcher)
-
setInformationModelMatcher
public void setInformationModelMatcher(PDTModelMatcher<CRITERIA,MODEL> informationModelMatcher)
-
setValuePostMatcher
public void setValuePostMatcher(PDTPostMatcher<CRITERIA,MODEL> postMatcher)
-
setInformationPostMatcher
public void setInformationPostMatcher(PDTPostMatcher<CRITERIA,MODEL> postInformationMatcher)
-
-