Class RelevancyRuleGroup
java.lang.Object
com.broadleafcommerce.search.api.domain.RelevancyRuleGroup
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class RelevancyRuleGroup
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Provides a way to group related
relevancy rules to easily reuse them in
different contexts.- Since:
- Search Service 2.2.0, Release Train 2.2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes for this relevancy rule group.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.The indexable type of the fields for this relevancy rule group.getId()The context ID of the relevancy rule group.getName()The name of the relevancy rule group.Therelevancy rulesin this relevancy rule group.inthashCode()voidsetAttributes(Map<String, Object> attributes) Miscellaneous attributes for this relevancy rule group.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetGroupIndexableType(String groupIndexableType) The indexable type of the fields for this relevancy rule group.voidThe context ID of the relevancy rule group.voidThe name of the relevancy rule group.voidsetRelevancyRules(Set<RelevancyRule> relevancyRules) Therelevancy rulesin this relevancy rule group.toString()
-
Constructor Details
-
RelevancyRuleGroup
public RelevancyRuleGroup()
-
-
Method Details
-
getId
The context ID of the relevancy rule group.- Returns:
- the context ID of the relevancy rule group
-
getName
The name of the relevancy rule group. -
getGroupIndexableType
The indexable type of the fields for this relevancy rule group. -
getRelevancyRules
Therelevancy rulesin this relevancy rule group. -
getAttributes
Miscellaneous attributes for this relevancy rule group.- Returns:
- Miscellaneous attributes for this relevancy rule group.
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
- a subset of
Trackinginformation to expose the context state for this object
-
setId
The context ID of the relevancy rule group.- Parameters:
id- the context ID of the relevancy rule group
-
setName
The name of the relevancy rule group. -
setGroupIndexableType
The indexable type of the fields for this relevancy rule group. -
setRelevancyRules
Therelevancy rulesin this relevancy rule group. -
setAttributes
Miscellaneous attributes for this relevancy rule group.- Parameters:
attributes- Miscellaneous attributes for this relevancy rule group.
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
contextState- a subset ofTrackinginformation to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-