|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractTransientImpl com.elasticpath.domain.catalogview.impl.FilterOptionImpl
public class FilterOptionImpl
This is the default implementation of FilterOption
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
FilterOptionImpl()
|
Method Summary | |
---|---|
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the display name of the given locale. |
int |
getHitsNumber()
Returns the number of hits in the filter option. |
java.lang.String |
getQueryString()
Returns the query string. |
void |
setCatalogViewRequest(CatalogViewRequest catalogViewRequest)
Sets the search request corresponding to this filter option. |
void |
setFilter(Filter filter)
Sets the search filter. |
void |
setHitsNumber(int hitsNumber)
Sets the number of hits in under the filter option. |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public FilterOptionImpl()
Method Detail |
---|
public java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName
in interface FilterOption
locale
- the locale
public int getHitsNumber()
getHitsNumber
in interface FilterOption
public java.lang.String getQueryString()
getQueryString
in interface FilterOption
public void setCatalogViewRequest(CatalogViewRequest catalogViewRequest)
setCatalogViewRequest
in interface FilterOption
catalogViewRequest
- the search requestpublic void setFilter(Filter filter)
setFilter
in interface FilterOption
filter
- the search filter.public void setHitsNumber(int hitsNumber)
setHitsNumber
in interface FilterOption
hitsNumber
- the hits number to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |