public class PriceComparisonFilter extends java.lang.Object implements Filter
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
IBM copyright notice field.
|
static java.lang.String | CRITERIA_EXACT
Deprecated.
XML value exact
|
static java.lang.String | CRITERIA_UPTO
Deprecated.
XML value upto
|
static java.lang.Integer | HIGH
Deprecated.
Indicates Highest priced LineItems to be selected.
|
static java.lang.Integer | LOW
Deprecated.
Indicates Lowest priced LineItems to be selected.
|
Constructor and Description |
---|
PriceComparisonFilter()
Deprecated.
Constructor for PriceComparisonFilter.
|
Modifier and Type | Method and Description |
---|---|
LineItemSet | filter(LineItemSet input, PromotionContext context)
Deprecated.
This method performs the business logic to filter the input LineItemSet and return a subset of the original LineItemSet.
|
void | fromXML(org.w3c.dom.Node anXMLNode)
Deprecated.
Transforms the XML node into its corresponding real Object.
|
java.lang.String | getFilterCriteria()
Deprecated.
This method returns the FilterCriteria.
|
int | getNoOfItems()
Deprecated.
This method returns the number of items to be selected.
|
java.lang.Integer | getType()
Deprecated.
This method gets the type of the selection.
|
void | setFilterCriteria(java.lang.String _filterCriteria)
Deprecated.
This method returns the FilterCriteria.
|
void | setNoOfItems(int _noOfItems)
Deprecated.
This method sets the number of items to be selected.
|
void | setType(java.lang.Integer newType)
Deprecated.
This method sets the type of the selection.
|
java.lang.String | toXML()
Deprecated.
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CRITERIA_UPTO
public static final java.lang.String CRITERIA_EXACT
public static final java.lang.Integer HIGH
public static final java.lang.Integer LOW
public PriceComparisonFilter()
public java.lang.Integer getType()
public int getNoOfItems()
public void setType(java.lang.Integer newType)
public java.lang.String getFilterCriteria()
public void setFilterCriteria(java.lang.String _filterCriteria)
public void setNoOfItems(int _noOfItems)
public LineItemSet filter(LineItemSet input, PromotionContext context)
public java.lang.String toXML() throws XMLizationException
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException