Class DiscoverySearchFilterFacet
java.lang.Object
org.dspace.discovery.configuration.DiscoverySearchFilter
org.dspace.discovery.configuration.DiscoverySearchFilterFacet
- Direct Known Subclasses:
HierarchicalSidebarFacetConfiguration
An expanded class that allows a search filter to be used as a sidebar facet
- Author:
- Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
Field Summary
FieldsFields inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
FILTER_TYPE_DEFAULT, indexFieldName, isOpenByDefault, metadataFields, pageSize, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method returns whether or not the DiscoverySearchFilterFacet should return a min and max value.intvoidsetExposeMinAndMaxValue(boolean exposeMinMax) This method sets the boolean forexposeMinAndMaxValue()voidsetFacetLimit(int facetLimit) voidsetSortOrderFilterPage(DiscoveryConfigurationParameters.SORT sortOrderFilterPage) voidsetSortOrderSidebar(DiscoveryConfigurationParameters.SORT sortOrderSidebar) Methods inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
getIndexFieldName, getMetadataFields, getPageSize, getType, isOpenByDefault, setIndexFieldName, setIsOpenByDefault, setMetadataFields, setPageSize, setType
-
Field Details
-
FILTER_TYPE_FACET
- See Also:
-
-
Constructor Details
-
DiscoverySearchFilterFacet
public DiscoverySearchFilterFacet()
-
-
Method Details
-
getFacetLimit
public int getFacetLimit() -
setFacetLimit
public void setFacetLimit(int facetLimit) -
getSortOrderFilterPage
-
setSortOrderFilterPage
-
getSortOrderSidebar
-
setSortOrderSidebar
-
getFilterType
- Overrides:
getFilterTypein classDiscoverySearchFilter
-
exposeMinAndMaxValue
public boolean exposeMinAndMaxValue()This method returns whether or not the DiscoverySearchFilterFacet should return a min and max value.- Returns:
- A boolean indicating whether or not this DiscoverySearchFilterFacet should expose a min and max value
-
setExposeMinAndMaxValue
public void setExposeMinAndMaxValue(boolean exposeMinMax) This method sets the boolean forexposeMinAndMaxValue()- Parameters:
exposeMinMax- A boolean value that will be set to return in the above mentioned link
-