Class FacetGroupFacet
java.lang.Object
com.broadleafcommerce.search.api.domain.FacetGroupFacet
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable,com.broadleafcommerce.data.tracking.core.ContextStateAware,com.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted,Serializable
public class FacetGroupFacet
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ChangeContainerOverridable, com.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted, com.broadleafcommerce.data.tracking.core.ContextStateAware
Represents a link between a
FacetGroup and a Facet.- Since:
- 2.1.0-GA
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.getFacet()Thefacetin this relationship.Thefacet groupin this relationshipgetId()The context ID of the facet group facet relationship.com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainerWhether the persistent counterpart to thisFacetGroupFacethas a non-default value forSortable.getSorting(), which determines order in admin list grids.Field indicating a sort order, if sorted.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidThefacetin this relationship.voidsetFacetGroup(FacetGroup facetGroup) Thefacet groupin this relationshipvoidThe context ID of the facet group facet relationship.voidsetOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) voidWhether the persistent counterpart to thisFacetGroupFacethas a non-default value forSortable.getSorting(), which determines order in admin list grids.voidsetSorting(String sorting) Field indicating a sort order, if sorted.toString()
-
Constructor Details
-
FacetGroupFacet
public FacetGroupFacet()
-
-
Method Details
-
getId
The context ID of the facet group facet relationship.- Returns:
- the context ID of the facet group facet relationship
-
getFacet
Thefacetin this relationship. -
getFacetGroup
Thefacet groupin this relationship -
getOverrideChangeContainer
public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getOverrideChangeContainer()- Specified by:
getOverrideChangeContainerin interfacecom.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
-
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
-
getSorted
Whether the persistent counterpart to thisFacetGroupFacethas a non-default value forSortable.getSorting(), which determines order in admin list grids.- Specified by:
getSortedin interfacecom.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted- Returns:
- Whether the persistent counterpart to this
FacetGroupFacethas a non-default value forSortable.getSorting(). - See Also:
-
Sorted.getSorted()Sortable
-
getSorting
Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting. -
setId
The context ID of the facet group facet relationship.- Parameters:
id- the context ID of the facet group facet relationship
-
setFacet
Thefacetin this relationship. -
setFacetGroup
Thefacet groupin this relationship -
setOverrideChangeContainer
public void setOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) - Specified by:
setOverrideChangeContainerin interfacecom.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
-
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
-
setSorted
Whether the persistent counterpart to thisFacetGroupFacethas a non-default value forSortable.getSorting(), which determines order in admin list grids.- Parameters:
sorted- Whether the persistent counterpart to thisFacetGroupFacethas a non-default value forSortable.getSorting().- See Also:
-
Sorted.getSorted()Sortable
-
setSorting
Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-