Class HierarchicalSidebarFacetConfiguration
java.lang.Object
org.dspace.discovery.configuration.DiscoverySearchFilter
org.dspace.discovery.configuration.DiscoverySearchFilterFacet
org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration
Special sidebar facet configuration used for hierarchical facets
- 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
Fields inherited from class org.dspace.discovery.configuration.DiscoverySearchFilterFacet
FILTER_TYPE_FACETFields inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
FILTER_TYPE_DEFAULT, indexFieldName, isOpenByDefault, metadataFields, pageSize, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetSkipFirstNodeLevel(boolean skipFirstNodeLevel) voidsetSplitter(String splitter) voidSets the type of the DiscoverySearchFilter to the one given in the parameter if it matches a set of possible types The possible types are described in:DiscoveryConfigurationParametersFor the DiscoverySearchFilter only the TYPE_TEXT, TYPE_DATE and TYPE_HIERARCHICAL are allowedMethods inherited from class org.dspace.discovery.configuration.DiscoverySearchFilterFacet
exposeMinAndMaxValue, getFacetLimit, getFilterType, getSortOrderFilterPage, getSortOrderSidebar, setExposeMinAndMaxValue, setFacetLimit, setSortOrderFilterPage, setSortOrderSidebarMethods inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
getIndexFieldName, getMetadataFields, getPageSize, getType, isOpenByDefault, setIndexFieldName, setIsOpenByDefault, setMetadataFields, setPageSize
-
Constructor Details
-
HierarchicalSidebarFacetConfiguration
public HierarchicalSidebarFacetConfiguration()
-
-
Method Details
-
getSplitter
-
setSplitter
-
isSkipFirstNodeLevel
public boolean isSkipFirstNodeLevel() -
setSkipFirstNodeLevel
public void setSkipFirstNodeLevel(boolean skipFirstNodeLevel) -
setType
Description copied from class:DiscoverySearchFilterSets the type of the DiscoverySearchFilter to the one given in the parameter if it matches a set of possible types The possible types are described in:DiscoveryConfigurationParametersFor the DiscoverySearchFilter only the TYPE_TEXT, TYPE_DATE and TYPE_HIERARCHICAL are allowed- Overrides:
setTypein classDiscoverySearchFilter- Parameters:
type- The type for this DiscoverySearchFilter- Throws:
DiscoveryConfigurationException- If none of the types match, this error will be thrown indicating this
-