atg.projects.store.assembler.cartridge
Class PriceSliderContentItem
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
com.endeca.infront.assembler.BasicContentItem
atg.projects.store.assembler.cartridge.PriceSliderContentItem
- All Implemented Interfaces:
- com.endeca.infront.assembler.ContentItem, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public class PriceSliderContentItem
- extends com.endeca.infront.assembler.BasicContentItem
PriceSliderContentItem cartridge which will be returned as part of a larger ContentItem
and is used by the PriceSlider.jsp to render a price slider control on the
storefront.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class com.endeca.infront.assembler.BasicContentItem |
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
FILTER_CRUMB
public static final java.lang.String FILTER_CRUMB
- See Also:
- Constant Field Values
PRICE_PROPERTY
public static final java.lang.String PRICE_PROPERTY
- See Also:
- Constant Field Values
SLIDER_MIN
public static final java.lang.String SLIDER_MIN
- See Also:
- Constant Field Values
SLIDER_MAX
public static final java.lang.String SLIDER_MAX
- See Also:
- Constant Field Values
ENABLED
public static final java.lang.String ENABLED
- See Also:
- Constant Field Values
PriceSliderContentItem
public PriceSliderContentItem(com.endeca.infront.assembler.ContentItem pConfig)
- Parameters:
pConfig
- Construct a PriceSlider using the properties defined in the
pConfig argument.
getFilterCrumb
public com.endeca.infront.cartridge.model.RangeFilterBreadcrumb getFilterCrumb()
- Returns:
- The filterCrumb property. The filterCrumb is a breadcrumb for the
price slider. It tells us if the price slider has been applied.
setFilterCrumb
public void setFilterCrumb(com.endeca.infront.cartridge.model.RangeFilterBreadcrumb pFilterCrumb)
- Parameters:
pFilterCrumb
- Set a new filterCrumb.
getPriceProperty
public java.lang.String getPriceProperty()
- Returns:
- Get the priceProperty that this slider uses. This is the property
in the MDEX that we perform filtering on.
setPriceProperty
public void setPriceProperty(java.lang.String pPriceProperty)
- Parameters:
pPriceProperty
- Set a new priceProperty.
getSliderMin
public java.lang.String getSliderMin()
- Returns:
- The price slider minimum value.
setSliderMin
public void setSliderMin(java.lang.String pSliderMin)
- Parameters:
pSliderMin
- Set a new price slider minimum value.
getSliderMax
public java.lang.String getSliderMax()
- Returns:
- The price slider maximum value.
setSliderMax
public void setSliderMax(java.lang.String pSliderMax)
- Parameters:
pSliderMax
- Set a new price slider maximum value.
getEnabled
public java.lang.Boolean getEnabled()
- Returns:
- Whether or not the slider is enabled
setEnabled
public void setEnabled(java.lang.Boolean pEnabled)
- Parameters:
pEnabled
- Set a new enabled value.