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
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.getId()The context ID of the sort group sort option xref.com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainerWhether the persistent counterpart to thisSortGroupSortOptionhas a non-default value forSortable.getSorting(), which determines order in admin list grids.Thesort groupin this relationship.Field indicating a sort order, if sorted.Thesort optionin this relationship.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidThe context ID of the sort group sort option xref.voidsetOverrideChangeContainer(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeContainer overrideChangeContainer) voidWhether the persistent counterpart to thisSortGroupSortOptionhas a non-default value forSortable.getSorting(), which determines order in admin list grids.voidsetSortGroup(SortGroup sortGroup) Thesort groupin this relationship.voidsetSorting(String sorting) Field indicating a sort order, if sorted.voidsetSortOption(SortOption sortOption) Thesort optionin 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 optionin this relationship. - 
getSortGroup
Thesort 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 thisSortGroupSortOptionhas 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 
SortGroupSortOptionhas 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 optionin this relationship. - 
setSortGroup
Thesort 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 thisSortGroupSortOptionhas a non-default value forSortable.getSorting(), which determines order in admin list grids.- Parameters:
 sorted- Whether the persistent counterpart to thisSortGroupSortOptionhas 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
 
 -