atg.projects.store.assembler.cartridge
Class PriceSliderContentItem

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Object>
          extended by com.endeca.infront.assembler.BasicContentItem
              extended by 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.

Version:
$Id: //hosting-blueprint/B2CBlueprint/version/10.2.1/Endeca/Assembler/src/atg/projects/store/assembler/cartridge/PriceSliderContentItem.java#2 $$Change: 788983 $
Author:
ckearney
See Also:
Serialized Form

Nested Class Summary
 
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>
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String ENABLED
           
static java.lang.String FILTER_CRUMB
           
static java.lang.String PRICE_PROPERTY
           
static java.lang.String SLIDER_MAX
           
static java.lang.String SLIDER_MIN
           
 
Constructor Summary
PriceSliderContentItem(com.endeca.infront.assembler.ContentItem pConfig)
          Construct a PriceSlider using the properties defined in the pConfig argument.
 
Method Summary
 java.lang.Boolean getEnabled()
           
 com.endeca.infront.cartridge.model.RangeFilterBreadcrumb getFilterCrumb()
           
 java.lang.String getPriceProperty()
           
 java.lang.String getSliderMax()
           
 java.lang.String getSliderMin()
           
 void setEnabled(java.lang.Boolean pEnabled)
           
 void setFilterCrumb(com.endeca.infront.cartridge.model.RangeFilterBreadcrumb pFilterCrumb)
           
 void setPriceProperty(java.lang.String pPriceProperty)
           
 void setSliderMax(java.lang.String pSliderMax)
           
 void setSliderMin(java.lang.String pSliderMin)
           
 
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
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


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
Constructor Detail

PriceSliderContentItem

public PriceSliderContentItem(com.endeca.infront.assembler.ContentItem pConfig)
Construct a PriceSlider using the properties defined in the pConfig argument.

Parameters:
pConfig - - The configuration item used to build the PriceSlider.
Method Detail

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 - - The 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 - - The 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 - - the new enabled value.