com.elasticpath.domain.catalogview
Interface PriceFilter

All Superinterfaces:
BranchNode, java.lang.Comparable, EpDomain, Filter, RangeFilter, java.io.Serializable, Transient
All Known Implementing Classes:
PriceFilterImpl

public interface PriceFilter
extends RangeFilter

Represents a filter on product price.


Field Summary
static java.math.BigDecimal MAX_PRICE
          The maximum price.
static java.math.BigDecimal MIN_PRICE
          The minimum price.
 
Fields inherited from interface com.elasticpath.domain.catalogview.RangeFilter
ALL, AND, BETWEEN, LESSTHAN, LOWER_VALUE_POSITION, MORETHAN, RANGE_TOKENS, UPPER_VALUE_POSITION
 
Fields inherited from interface com.elasticpath.domain.catalogview.Filter
ERROR_MSG, SEPARATOR, SEPARATOR_IN_REGEX
 
Method Summary
 java.util.Currency getCurrency()
          Returns the currency of this price filter.
 java.math.BigDecimal getLowerPrice()
          Returns the lower price of the price filter.
 java.math.BigDecimal getUpperPrice()
          Returns the upper price of the price filter.
 void setCurrency(java.util.Currency currency)
          Set the currency of this price filter.
 
Methods inherited from interface com.elasticpath.domain.catalogview.RangeFilter
addChild, addDisplayInfo, contains, getChildren, getDisplayInfo, getLocalizedDisplayMap, getLowerValue, getParent, getRangeType, getUpperValue, setLocalizedDisplayMap, setLowerValue, setParent, setRangeType, setUpperValue
 
Methods inherited from interface com.elasticpath.domain.catalogview.Filter
filter, getDisplayName, getId, getSeoId, getSeoName, initialize, isLocalized, match, setId, setLocalized
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.elasticpath.domain.catalogview.BranchNode
getLevel, getPath
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

MAX_PRICE

static final java.math.BigDecimal MAX_PRICE
The maximum price.


MIN_PRICE

static final java.math.BigDecimal MIN_PRICE
The minimum price.

Method Detail

getCurrency

java.util.Currency getCurrency()
Returns the currency of this price filter.

Returns:
the currency of this price filter.

getLowerPrice

java.math.BigDecimal getLowerPrice()
Returns the lower price of the price filter.

Returns:
the lower price of the price filter.

getUpperPrice

java.math.BigDecimal getUpperPrice()
Returns the upper price of the price filter.

Returns:
the upper price of the price filter.

setCurrency

void setCurrency(java.util.Currency currency)
Set the currency of this price filter.

Parameters:
currency - the currency.