Class SolrFacetProperties
java.lang.Object
org.alfresco.repo.search.impl.solr.facet.SolrFacetProperties
- All Implemented Interfaces:
Serializable
Domain-Specific Language (DSL) style builder class for encapsulating the facet properties.
- Author:
- Jamal Kaabi-Mofrad
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns an unmodifiable view of the custom properties set or null.intintintgetScope()Returns an unmodifiable view of the Scoped Sites set.inthashCode()booleanWhether the facet is a default facet (loaded from a configuration file) or nottoString()
-
Method Details
-
getFilterID
- Returns:
- the filterID
-
getFacetQName
- Returns:
- the facetQName
-
getDisplayName
- Returns:
- the displayName
-
getDisplayControl
- Returns:
- the displayControl
-
getMaxFilters
public int getMaxFilters()- Returns:
- the maxFilters
-
getHitThreshold
public int getHitThreshold()- Returns:
- the hitThreshold
-
getMinFilterValueLength
public int getMinFilterValueLength()- Returns:
- the minFilterValueLength
-
getSortBy
- Returns:
- the sortBy
-
getScope
- Returns:
- the scope
-
getScopedSites
Returns an unmodifiable view of the Scoped Sites set. Never null.- Returns:
- the scopedSites
-
isEnabled
- Returns:
- null if the value is not set
-
isDefault
public boolean isDefault()Whether the facet is a default facet (loaded from a configuration file) or not- Returns:
- true if the facet is default, false otherwise
-
getCustomProperties
Returns an unmodifiable view of the custom properties set or null.- Returns:
- the customProperties
-
hashCode
public int hashCode() -
equals
-
toString
-