Class FacetGroup
java.lang.Object
com.broadleafcommerce.search.api.domain.FacetGroup
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class FacetGroup
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Provides a way to group related
Facets to easily reuse them in different contexts.- Since:
- 2.1.0-GA
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMiscellaneous attributes for this facet group.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.Thefacetsin this facet group.The indexable type of the fields for this facet group.getId()The context ID of the facet group.getName()The name of the facet group.inthashCode()voidsetAttributes(Map<String, Object> attributes) Miscellaneous attributes for this facet group.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidThefacetsin this facet group.voidsetGroupIndexableType(String groupIndexableType) The indexable type of the fields for this facet group.voidThe context ID of the facet group.voidThe name of the facet group.toString()
-
Constructor Details
-
FacetGroup
public FacetGroup()
-
-
Method Details
-
getId
The context ID of the facet group.- Returns:
- the context ID of the facet group
-
getName
The name of the facet group. -
getGroupIndexableType
The indexable type of the fields for this facet group. -
getFacets
Thefacetsin this facet group. -
getAttributes
Miscellaneous attributes for this facet group.- Returns:
- Miscellaneous attributes for this facet 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 facet group.- Parameters:
id- the context ID of the facet group
-
setName
The name of the facet group. -
setGroupIndexableType
The indexable type of the fields for this facet group. -
setFacets
Thefacetsin this facet group. -
setAttributes
Miscellaneous attributes for this facet group.- Parameters:
attributes- Miscellaneous attributes for this facet 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
-