|
|||||||||
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.AbstractPersistenceImpl com.elasticpath.domain.search.impl.AbstractSearchCriteriaImpl com.elasticpath.domain.search.impl.ProductSearchCriteriaImpl
public class ProductSearchCriteriaImpl
A criteria for advanced product search.
Field Summary |
---|
Fields inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
serialVersionUID |
Constructor Summary | |
---|---|
ProductSearchCriteriaImpl()
|
Method Summary | |
---|---|
java.lang.String |
getBrandCode()
Returns the brand code. |
java.util.Set |
getCategoryUids()
Returns a set of category uids. |
java.lang.String |
getKeyword()
Returns the key word. |
boolean |
isActiveOnly()
Returns true if searching only for active products. |
boolean |
isInActiveOnly()
Returns true if searching only for inactive products. |
void |
setActiveOnly(boolean activeOnlyFlag)
Sets the active-only flag to true if only searching for active products. |
void |
setBrandCode(java.lang.String brandCode)
Sets the brand code. |
void |
setCategoryUids(java.util.Set categoryUids)
Sets the set of category uids. |
void |
setInActiveOnly(boolean inActiveOnlyFlag)
Sets the inactive-only flag to true if only searching for inactive products. |
void |
setKeyword(java.lang.String keyword)
Sets the key word. |
Methods inherited from class com.elasticpath.domain.search.impl.AbstractSearchCriteriaImpl |
---|
getLocale, isFuzzySearchDisabled, setFuzzySearchDisabled, setLocale |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
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.search.SearchCriteria |
---|
getLocale, isFuzzySearchDisabled, setFuzzySearchDisabled, setLocale |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Constructor Detail |
---|
public ProductSearchCriteriaImpl()
Method Detail |
---|
public java.lang.String getBrandCode()
getBrandCode
in interface ProductSearchCriteria
public java.util.Set getCategoryUids()
getCategoryUids
in interface ProductSearchCriteria
public java.lang.String getKeyword()
getKeyword
in interface ProductSearchCriteria
public boolean isActiveOnly()
true
if searching only for active products.
isActiveOnly
in interface ProductSearchCriteria
true
if searching only for active productspublic boolean isInActiveOnly()
true
if searching only for inactive products.
isInActiveOnly
in interface ProductSearchCriteria
true
if searching only for in active productspublic void setActiveOnly(boolean activeOnlyFlag)
true
if only searching for active products.
setActiveOnly
in interface ProductSearchCriteria
activeOnlyFlag
- the active-only flagpublic void setBrandCode(java.lang.String brandCode)
setBrandCode
in interface ProductSearchCriteria
brandCode
- the brand codepublic void setCategoryUids(java.util.Set categoryUids)
setCategoryUids
in interface ProductSearchCriteria
categoryUids
- the set of category uidspublic void setInActiveOnly(boolean inActiveOnlyFlag)
true
if only searching for inactive products.
setInActiveOnly
in interface ProductSearchCriteria
inActiveOnlyFlag
- the inactive-only flagpublic void setKeyword(java.lang.String keyword)
setKeyword
in interface ProductSearchCriteria
keyword
- the key word
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |