public interface SearchFacet
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCanMultiselect()
Gets whether or not you can multiselect values for this Facet
|
Field |
getField()
Returns the field associated with this facet.
|
Long |
getId()
Returns the internal id
|
String |
getLabel()
Gets the label of this SearchFacet.
|
List<RequiredFacet> |
getRequiredFacets() |
Boolean |
getRequiresAllDependentFacets()
This boolean controls whether or not this particular facet requires one of the dependent facets to be active, or if
it requires all of the dependent facets to be active.
|
Integer |
getSearchDisplayPriority()
Gets the display priority of this SearchFacet on search result pages
|
List<SearchFacetRange> |
getSearchFacetRanges()
Gets the applicable ranges for this search facet, if any are specified.
|
Boolean |
getShowOnSearch()
Gets a boolean that specifies whether or not this SearchFacet should be displayed on search
result pages in addition to category pages
|
void |
setCanMultiselect(Boolean canMultiselect)
Sets whether or not you can multiselect values for this Facet.
|
void |
setField(Field field)
Sets the field associated with this facet.
|
void |
setId(Long id)
Sets the internal id
|
void |
setLabel(String label)
Sets the label
|
void |
setRequiredFacets(List<RequiredFacet> requiredFacets)
Sets the list of facets which this facet depends on.
|
void |
setRequiresAllDependentFacets(Boolean requiresAllDependentFacets)
Sets whether or not all dependent facets must be active, or if only one is necessary
|
void |
setSearchDisplayPriority(Integer searchDisplayPriority)
Sets the display priority on search result pages
|
void |
setSearchFacetRanges(List<SearchFacetRange> searchFacetRanges)
Sets the SearchFacetRanges
Note: This method will set ALL search facet ranges
|
void |
setShowOnSearch(Boolean showOnSearch)
Sets showOnSearch
|
Long getId()
void setId(Long id)
id - Field getField()
void setField(Field field)
fieldName - #getFieldName()String getLabel()
void setLabel(String label)
label - getLabel()Boolean getShowOnSearch()
void setShowOnSearch(Boolean showOnSearch)
showOnSearch - getShowOnSearch()Integer getSearchDisplayPriority()
void setSearchDisplayPriority(Integer searchDisplayPriority)
searchDisplayPriority - void setCanMultiselect(Boolean canMultiselect)
canMultiselect - Boolean getCanMultiselect()
List<SearchFacetRange> getSearchFacetRanges()
void setSearchFacetRanges(List<SearchFacetRange> searchFacetRanges)
searchFacetRanges - getSearchFacetRanges()List<RequiredFacet> getRequiredFacets()
getRequiresAllDependentFacets()void setRequiredFacets(List<RequiredFacet> requiredFacets)
dependentFacets - Boolean getRequiresAllDependentFacets()
getRequiredFacets()void setRequiresAllDependentFacets(Boolean requiresAllDependentFacets)
requiresAllDependentFacets - Copyright © 2015. All Rights Reserved.