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