|
|||||||||
| 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<AttributeValueFilter>
com.bea.alcs.domain.catalogview.impl.AttributeValueFilterImpl
public class AttributeValueFilterImpl
The implementation of AttributeFilter.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from interface com.bea.alcs.domain.catalogview.AttributeValueFilter |
|---|
VALUE_TOKENS |
| Fields inherited from interface com.bea.alcs.domain.catalogview.Filter |
|---|
SEPARATOR, SEPARATOR_IN_REGEX |
| Constructor Summary | |
|---|---|
AttributeValueFilterImpl()
|
|
| Method Summary | |
|---|---|
int |
compareTo(AttributeValueFilter other)
Compares this object with the specified AttributeValueFilter for ordering. |
Attribute |
getAttribute()
Get the attribute object. |
java.lang.String |
getAttributeFilterId(java.lang.String attributeKey,
java.lang.String seoId)
Generate and return an attribute filter id. |
java.lang.String |
getAttributeKey()
Get the attribute key. |
AttributeValueWithType |
getAttributeValue()
Gets the AttributeValueWithType of this filter. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Get the display name for the filter. |
java.util.Locale |
getLocale()
Get the locale for this attribute. |
java.lang.String |
getSeoId()
This method is not used. |
java.lang.String |
getSeoName(java.util.Locale locale)
This method is not used. |
void |
initialize(java.lang.String filterId)
Initialized the filter. |
boolean |
matchAttributeMultiValue(AttributeValueWithType attributeValue)
|
void |
setAttribute(Attribute attribute)
|
void |
setAttributeKey(java.lang.String attributeKey)
Set the attribute Key. |
void |
setAttributeValue(AttributeValueWithType attributeValue)
Set the attribute value. |
void |
setAttributeValueFromString(java.lang.String attributeValue)
Set the attribute value. |
void |
setLocale(java.util.Locale locale)
Set the locale for this attribute. |
| Methods inherited from class com.bea.alcs.domain.catalogview.impl.AbstractFilterImpl |
|---|
equals, getId, hashCode, 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.Filter |
|---|
getId, isLocalized, setId, setLocalized |
| Methods inherited from interface com.bea.alcs.domain.EpDomain |
|---|
getElasticPath, getUtility, setDefaultValues, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public AttributeValueFilterImpl()
| Method Detail |
|---|
public java.lang.String getAttributeFilterId(java.lang.String attributeKey,
java.lang.String seoId)
attributeKey - the attributeKeyseoId - the seoId
public java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName in interface Filter<AttributeValueFilter>locale - the given locale.
public void initialize(java.lang.String filterId)
throws EpCatalogViewRequestBindException
initialize in interface Filter<AttributeValueFilter>filterId - the filterId
EpCatalogViewRequestBindException - the exceptionpublic java.util.Locale getLocale()
getLocale in interface AttributeFilter<AttributeValueFilter>public void setLocale(java.util.Locale locale)
setLocale in interface AttributeFilter<AttributeValueFilter>locale - the locale to setpublic java.lang.String getAttributeKey()
getAttributeKey in interface AttributeFilter<AttributeValueFilter>public void setAttributeKey(java.lang.String attributeKey)
setAttributeKey in interface AttributeFilter<AttributeValueFilter>attributeKey - the attributeKey to setpublic Attribute getAttribute()
AttributeFilter
getAttribute in interface AttributeFilter<AttributeValueFilter>public void setAttribute(Attribute attribute)
setAttribute in interface AttributeFilter<AttributeValueFilter>attribute - the attribute to setpublic java.lang.String getSeoName(java.util.Locale locale)
getSeoName in interface Filter<AttributeValueFilter>locale - the locale
public java.lang.String getSeoId()
getSeoId in interface Filter<AttributeValueFilter>getSeoId in class AbstractFilterImpl<AttributeValueFilter>public boolean matchAttributeMultiValue(AttributeValueWithType attributeValue)
attributeValue - the given attributeValue
public AttributeValueWithType getAttributeValue()
AttributeValueWithType of this filter.
getAttributeValue in interface AttributeValueFilterAttributeValueWithType of this filterpublic void setAttributeValue(AttributeValueWithType attributeValue)
setAttributeValue in interface AttributeValueFilterattributeValue - the attributeValue to setpublic void setAttributeValueFromString(java.lang.String attributeValue)
setAttributeValueFromString in interface AttributeValueFilterattributeValue - the attributeValue to setpublic int compareTo(AttributeValueFilter other)
AttributeValueFilter for ordering.
compareTo in interface java.lang.Comparable<AttributeValueFilter>other - the given object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||