com.elasticpath.domain.search
Interface CategorySearchCriteria

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

public interface CategorySearchCriteria
extends SearchCriteria

Represents criteria for advancec category search.


Method Summary
 long getAncestorUid()
          Returns the ancestor uid.
 java.lang.String getKeyword()
          Returns the key word.
 boolean isActiveOnly()
          Returns true if searching only for active categorys.
 boolean isInActiveOnly()
          Returns true if searching only for inactive categorys.
 void setActiveOnly(boolean activeOnlyFlag)
          Sets the active-only flag to true if only searching for active categorys.
 void setAncestorUid(long ancestorUid)
          Sets the ancestor uid.
 void setInActiveOnly(boolean inActiveOnlyFlag)
          Sets the inactive-only flag to true if only searching for inactive categorys.
 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

getAncestorUid

long getAncestorUid()
Returns the ancestor uid.

Returns:
the ancestor uid

getKeyword

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

Returns:
the key word

isActiveOnly

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

Returns:
true if searching only for active categorys

isInActiveOnly

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

Returns:
true if searching only for in active categorys

setActiveOnly

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

Parameters:
activeOnlyFlag - the active-only flag

setAncestorUid

void setAncestorUid(long ancestorUid)
Sets the ancestor uid.

Parameters:
ancestorUid - the ancestor uid

setInActiveOnly

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

Parameters:
inActiveOnlyFlag - the inactive-only flag

setKeyword

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

Parameters:
keyword - the key word