com.elasticpath.domain.catalogview.browsing.impl
Class BrowsingFilterOptionImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractTransientImpl
          extended by com.elasticpath.domain.catalogview.impl.FilterOptionImpl
              extended by com.elasticpath.domain.catalogview.browsing.impl.BrowsingFilterOptionImpl
All Implemented Interfaces:
BrowsingFilterOption, FilterOption, EpDomain, Transient, java.io.Serializable

public class BrowsingFilterOptionImpl
extends FilterOptionImpl
implements BrowsingFilterOption

This is the default implementation of BrowsingFilterOption.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
BrowsingFilterOptionImpl()
           
 
Method Summary
 java.lang.String getSeoUrl(Category category)
          Returns the SEO(Search Engine Optimized) url based on the given category.
 
Methods inherited from class com.elasticpath.domain.catalogview.impl.FilterOptionImpl
getDisplayName, getHitsNumber, getQueryString, setCatalogViewRequest, setFilter, setHitsNumber
 
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.catalogview.FilterOption
getDisplayName, getHitsNumber, getQueryString, setCatalogViewRequest, setFilter, setHitsNumber
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

BrowsingFilterOptionImpl

public BrowsingFilterOptionImpl()
Method Detail

getSeoUrl

public java.lang.String getSeoUrl(Category category)
Returns the SEO(Search Engine Optimized) url based on the given category. Notice that the uidPk of the given category must match the one in the browsing request.

Specified by:
getSeoUrl in interface BrowsingFilterOption
Parameters:
category - the category
Returns:
the SEO(Search Engine Optimized) url