com.elasticpath.domain.search.impl
Class CategorySearchCriteriaImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.search.impl.AbstractSearchCriteriaImpl
              extended by com.elasticpath.domain.search.impl.CategorySearchCriteriaImpl
All Implemented Interfaces:
EpDomain, Persistence, CategorySearchCriteria, SearchCriteria, Transient, java.io.Serializable

public class CategorySearchCriteriaImpl
extends AbstractSearchCriteriaImpl
implements CategorySearchCriteria

A criteria for advanced category search.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
serialVersionUID
 
Constructor Summary
CategorySearchCriteriaImpl()
           
 
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 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

CategorySearchCriteriaImpl

public CategorySearchCriteriaImpl()
Method Detail

getAncestorUid

public long getAncestorUid()
Returns the ancestor uid.

Specified by:
getAncestorUid in interface CategorySearchCriteria
Returns:
the ancestor uid

getKeyword

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

Specified by:
getKeyword in interface CategorySearchCriteria
Returns:
the key word

isActiveOnly

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

Specified by:
isActiveOnly in interface CategorySearchCriteria
Returns:
true if searching only for active categorys

isInActiveOnly

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

Specified by:
isInActiveOnly in interface CategorySearchCriteria
Returns:
true if searching only for in active categorys

setActiveOnly

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

Specified by:
setActiveOnly in interface CategorySearchCriteria
Parameters:
activeOnlyFlag - the active-only flag

setAncestorUid

public void setAncestorUid(long ancestorUid)
Sets the ancestor uid.

Specified by:
setAncestorUid in interface CategorySearchCriteria
Parameters:
ancestorUid - the ancestor uid

setInActiveOnly

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

Specified by:
setInActiveOnly in interface CategorySearchCriteria
Parameters:
inActiveOnlyFlag - the inactive-only flag

setKeyword

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

Specified by:
setKeyword in interface CategorySearchCriteria
Parameters:
keyword - the key word