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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.getFacet()
Thefacet
in this relationship.Thefacet group
in this relationshipgetId()
The context ID of the facet group facet relationship.com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
Whether the persistent counterpart to thisFacetGroupFacet
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.Field indicating a sort order, if sorted.int
hashCode()
void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
Thefacet
in this relationship.void
setFacetGroup
(FacetGroup facetGroup) Thefacet group
in this relationshipvoid
The context ID of the facet group facet relationship.void
setOverrideChangeContainer
(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) void
Whether the persistent counterpart to thisFacetGroupFacet
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.void
setSorting
(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
Thefacet
in this relationship. -
getFacetGroup
Thefacet group
in this relationship -
getOverrideChangeContainer
public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer getOverrideChangeContainer()- Specified by:
getOverrideChangeContainer
in interfacecom.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object
-
getSorted
Whether the persistent counterpart to thisFacetGroupFacet
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.- Specified by:
getSorted
in interfacecom.broadleafcommerce.data.tracking.core.sort.business.domain.Sorted
- Returns:
- Whether the persistent counterpart to this
FacetGroupFacet
has 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
Thefacet
in this relationship. -
setFacetGroup
Thefacet group
in this relationship -
setOverrideChangeContainer
public void setOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) - Specified by:
setOverrideChangeContainer
in interfacecom.broadleafcommerce.data.tracking.core.ChangeContainerOverridable
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
setSorted
Whether the persistent counterpart to thisFacetGroupFacet
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.- Parameters:
sorted
- Whether the persistent counterpart to thisFacetGroupFacet
has 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
-