|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.alcs.domain.impl.AbstractEpDomainImpl
com.bea.alcs.domain.impl.AbstractTransientImpl
com.bea.alcs.domain.catalogview.impl.AbstractFilterImpl<T>
com.bea.alcs.domain.catalogview.impl.AbstractRangeFilterImpl<AttributeRangeFilter,AttributeValueWithType>
com.bea.alcs.domain.catalogview.impl.AttributeRangeFilterImpl
public class AttributeRangeFilterImpl
Default implementation of AttributeRangeFilter
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Fields inherited from interface com.bea.alcs.domain.catalogview.RangeFilter |
---|
ALL, AND, LOWER_VALUE_POSITION, RANGE_TOKENS, UPPER_VALUE_POSITION |
Fields inherited from interface com.bea.alcs.domain.catalogview.Filter |
---|
SEPARATOR, SEPARATOR_IN_REGEX |
Fields inherited from interface com.bea.alcs.domain.catalogview.Filter |
---|
SEPARATOR, SEPARATOR_IN_REGEX |
Constructor Summary | |
---|---|
AttributeRangeFilterImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if this filter equals to the given object. |
Attribute |
getAttribute()
Get the attribute object. |
java.lang.String |
getAttributeKey()
Get the attribute key. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the display name of the filter with the given locale. |
java.util.Locale |
getLocale()
Get the locale for this attribute. |
java.lang.String |
getSeoId()
This method returns the seo id. |
int |
hashCode()
Returns the hash code. |
void |
initialize(java.lang.String filterId)
Sets the filter id and initialize the filter. |
void |
setAttribute(Attribute attribute)
|
void |
setAttributeKey(java.lang.String attributeKey)
Set the attribute Key. |
void |
setLocale(java.util.Locale locale)
Set the locale for this attribute. |
Methods inherited from class com.bea.alcs.domain.catalogview.impl.AbstractRangeFilterImpl |
---|
addChild, addDisplayInfo, compareTo, contains, getChildren, getDisplayInfo, getLocalizedDisplayMap, getLowerValue, getParent, getRangeType, getSeoName, getUpperValue, setLocalizedDisplayMap, setLowerValue, setParent, setUpperValue |
Methods inherited from class com.bea.alcs.domain.catalogview.impl.AbstractFilterImpl |
---|
getId, isLocalized, setId, setLocalized |
Methods inherited from class com.bea.alcs.domain.impl.AbstractEpDomainImpl |
---|
getBooleanHashCode, getElasticPath, getObjectHashCode, getUtility, setDefaultValues, setElasticPath |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.alcs.domain.catalogview.RangeFilter |
---|
addChild, addDisplayInfo, contains, getChildren, getDisplayInfo, getLocalizedDisplayMap, getLowerValue, getParent, getRangeType, getUpperValue, setLocalizedDisplayMap, setLowerValue, setParent, setUpperValue |
Methods inherited from interface com.bea.alcs.domain.catalogview.Filter |
---|
getId, getSeoName, isLocalized, setId, setLocalized |
Methods inherited from interface com.bea.alcs.domain.EpDomain |
---|
getElasticPath, getUtility, setDefaultValues, setElasticPath |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.bea.alcs.domain.catalogview.Filter |
---|
getId, getSeoName, isLocalized, setId, setLocalized |
Methods inherited from interface com.bea.alcs.domain.EpDomain |
---|
getElasticPath, getUtility, setDefaultValues, setElasticPath |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public AttributeRangeFilterImpl()
Method Detail |
---|
public boolean equals(java.lang.Object object)
true
if this filter equals to the given object.
equals
in class AbstractFilterImpl<AttributeRangeFilter>
object
- the object to compare
true
if this filter equals to the given object.public int hashCode()
hashCode
in class AbstractFilterImpl<AttributeRangeFilter>
public void initialize(java.lang.String filterId) throws EpCatalogViewRequestBindException
Filter
initialize
in interface Filter<AttributeRangeFilter>
filterId
- the filter id
EpCatalogViewRequestBindException
- the exceptionpublic java.util.Locale getLocale()
getLocale
in interface AttributeFilter<AttributeRangeFilter>
public void setLocale(java.util.Locale locale)
setLocale
in interface AttributeFilter<AttributeRangeFilter>
locale
- the locale to setpublic java.lang.String getAttributeKey()
getAttributeKey
in interface AttributeFilter<AttributeRangeFilter>
public void setAttributeKey(java.lang.String attributeKey)
setAttributeKey
in interface AttributeFilter<AttributeRangeFilter>
attributeKey
- the attributeKey to setpublic Attribute getAttribute()
AttributeFilter
getAttribute
in interface AttributeFilter<AttributeRangeFilter>
public void setAttribute(Attribute attribute)
setAttribute
in interface AttributeFilter<AttributeRangeFilter>
attribute
- the attribute to setpublic java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName
in interface Filter<AttributeRangeFilter>
getDisplayName
in class AbstractRangeFilterImpl<AttributeRangeFilter,AttributeValueWithType>
locale
- the locale
public java.lang.String getSeoId()
getSeoId
in interface Filter<AttributeRangeFilter>
getSeoId
in class AbstractFilterImpl<AttributeRangeFilter>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |