Class DefaultPDTProcessorChainExecutor<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria>
- java.lang.Object
-
- de.hybris.platform.order.strategies.calculation.pdt.processor.impl.DefaultPDTProcessorChainExecutor<VALUE,INFO,CRITERIA>
-
- Type Parameters:
VALUE- the generic type for price/discount/tax value.INFO- the generic type for price/discount/tax information.CRITERIA- the generic type for price/discount/tax criteria.
- All Implemented Interfaces:
FindPDTValueInfoStrategy<VALUE,INFO,CRITERIA>
public class DefaultPDTProcessorChainExecutor<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria> extends java.lang.Object implements FindPDTValueInfoStrategy<VALUE,INFO,CRITERIA>
Class is used to manage the execution of a set of PDTprocessors.
-
-
Constructor Summary
Constructors Constructor Description DefaultPDTProcessorChainExecutor()
-
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.voidsetPdtProcessors(java.util.List<PDTProcessor> pdtProcessors)
-
-
-
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
-
setPdtProcessors
public void setPdtProcessors(java.util.List<PDTProcessor> pdtProcessors)
-
-