Package net.pricefx.domain
Enum Class Pricelist.ProcessingMode
- All Implemented Interfaces:
Serializable,Comparable<Pricelist.ProcessingMode>,Constable
- Enclosing class:
Pricelist
Controls how a Price List's line items are (re)populated when the calculation runs, set via
Pricelist.setProcessingMode(ProcessingMode).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds items from product selection criteria to list Will NOT overwrite existing resultsAdds items from product selection criteria to list Will overwrite existing resultsCreates a new pricelist Will wipe potentially existing results Uses specified product selection criteriaOnly valid if a previous Price List is specified (seePricelist.getPreviousPricelistId()).Only valid if a previous Price List is specified (seePricelist.getPreviousPricelistId()). -
Method Summary
Modifier and TypeMethodDescriptionstatic Pricelist.ProcessingModeReturns the enum constant of this class with the specified name.static Pricelist.ProcessingMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW_REVISION
Only valid if a previous Price List is specified (seePricelist.getPreviousPricelistId()). Will wipe potentially existing results. Uses previous pricelist's product selection as input -
NEW_PRICELIST
Creates a new pricelist Will wipe potentially existing results Uses specified product selection criteria -
ADD_ITEM_OVERRIDE
Adds items from product selection criteria to list Will overwrite existing results -
ADD_ITEM_NOOVERRIDE
Adds items from product selection criteria to list Will NOT overwrite existing results -
NEW_REVISION_BYCRITERIA
Only valid if a previous Price List is specified (seePricelist.getPreviousPricelistId()). Will wipe potentially existing results. Uses the previous Price List's product selection filter as input, whileNEW_REVISIONuses its actual SKU set.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-