com.elasticpath.domain.search
Interface ProductSearchCriteria

All Superinterfaces:
EpDomain, SearchCriteria, java.io.Serializable, Transient
All Known Implementing Classes:
ProductSearchCriteriaImpl

public interface ProductSearchCriteria
extends SearchCriteria

Represents criteria for advancec product search.


Method Summary
 java.lang.String getBrandCode()
          Returns the brand code.
 java.util.Set getCategoryUids()
          Returns the 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 interface com.elasticpath.domain.search.SearchCriteria
getLocale, isFuzzySearchDisabled, setFuzzySearchDisabled, setLocale
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getBrandCode

java.lang.String getBrandCode()
Returns the brand code.

Returns:
the brand code

getCategoryUids

java.util.Set getCategoryUids()
Returns the Set of category uids.

Returns:
the Set of category uids

getKeyword

java.lang.String getKeyword()
Returns the key word.

Returns:
the key word

isActiveOnly

boolean isActiveOnly()
Returns true if searching only for active products.

Returns:
true if searching only for active products

isInActiveOnly

boolean isInActiveOnly()
Returns true if searching only for inactive products.

Returns:
true if searching only for in active products

setActiveOnly

void setActiveOnly(boolean activeOnlyFlag)
Sets the active-only flag to true if only searching for active products.

Parameters:
activeOnlyFlag - the active-only flag

setBrandCode

void setBrandCode(java.lang.String brandCode)
Sets the brand code.

Parameters:
brandCode - the brand code

setCategoryUids

void setCategoryUids(java.util.Set categoryUids)
Sets the Set of category uids.

Parameters:
categoryUids - the Set of category uids to set

setInActiveOnly

void setInActiveOnly(boolean inActiveOnlyFlag)
Sets the inactive-only flag to true if only searching for inactive products.

Parameters:
inActiveOnlyFlag - the inactive-only flag

setKeyword

void setKeyword(java.lang.String keyword)
Sets the key word.

Parameters:
keyword - the key word