|
|||||||||
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.AbstractFilterImpl com.elasticpath.domain.catalogview.impl.CategoryFilterImpl
public class CategoryFilterImpl
Represents a filter on category.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Fields inherited from interface com.elasticpath.domain.catalogview.Filter |
---|
SEPARATOR, SEPARATOR_IN_REGEX |
Constructor Summary | |
---|---|
CategoryFilterImpl()
Default Constructer. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Compares this object with the specified object for ordering. |
boolean |
equals(java.lang.Object object)
Returns true if this filter equals to the given object. |
CategoryService |
getCategoryService()
Returns the category servcie. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the display name of the filter with the given locale. |
java.lang.String |
getSeoId()
This method is not used. |
java.lang.String |
getSeoName(java.util.Locale locale)
This method is not used. |
int |
hashCode()
Returns the hash code. |
void |
initialize(java.lang.String filterId)
Sets the id of the filter. |
boolean |
match(java.lang.Object obj)
Check whether the given object has the same brand with this filter. |
void |
setCategoryService(CategoryService categoryService)
Sets the category servcie. |
Methods inherited from class com.elasticpath.domain.catalogview.impl.AbstractFilterImpl |
---|
filter, getId, isLocalized, setId, setLocalized |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.catalogview.Filter |
---|
filter, getId, isLocalized, setId, setLocalized |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public CategoryFilterImpl()
Method Detail |
---|
public int compareTo(java.lang.Object object) throws EpDomainException
compareTo
in interface java.lang.Comparable
object
- the given object
EpDomainException
- in case the given object is not a CategoryFilter
public boolean equals(java.lang.Object object)
true
if this filter equals to the given object.
equals
in class AbstractFilterImpl
object
- the object to compare
true
if this filter equals to the given object.public CategoryService getCategoryService()
public java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName
in interface Filter
locale
- the locale
public java.lang.String getSeoId()
getSeoId
in interface Filter
getSeoId
in class AbstractFilterImpl
public java.lang.String getSeoName(java.util.Locale locale)
getSeoName
in interface Filter
locale
- the locale
public int hashCode()
hashCode
in class AbstractFilterImpl
public void initialize(java.lang.String filterId)
initialize
in interface Filter
filterId
- the id to setpublic boolean match(java.lang.Object obj)
match
in interface Filter
obj
- the given object.
public void setCategoryService(CategoryService categoryService)
categoryService
- the category servcie
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |