Class SortGroupSortOption
java.lang.Object
com.broadleafcommerce.search.api.domain.SortGroupSortOption
- 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 SortGroupSortOption
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
SortOption
and a SortGroup
.- 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.getId()
The context ID of the sort group sort option xref.com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer
Whether the persistent counterpart to thisSortGroupSortOption
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.Thesort group
in this relationship.Field indicating a sort order, if sorted.Thesort option
in this relationship.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
The context ID of the sort group sort option xref.void
setOverrideChangeContainer
(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) void
Whether the persistent counterpart to thisSortGroupSortOption
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.void
setSortGroup
(SortGroup sortGroup) Thesort group
in this relationship.void
setSorting
(String sorting) Field indicating a sort order, if sorted.void
setSortOption
(SortOption sortOption) Thesort option
in this relationship.toString()
-
Constructor Details
-
SortGroupSortOption
public SortGroupSortOption()
-
-
Method Details
-
getId
The context ID of the sort group sort option xref.- Returns:
- the context ID of the sort group sort option xref
-
getSortOption
Thesort option
in this relationship. -
getSortGroup
Thesort 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 thisSortGroupSortOption
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
SortGroupSortOption
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 sort group sort option xref.- Parameters:
id
- the context ID of the sort group sort option xref
-
setSortOption
Thesort option
in this relationship. -
setSortGroup
Thesort 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 thisSortGroupSortOption
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.- Parameters:
sorted
- Whether the persistent counterpart to thisSortGroupSortOption
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
-