Class HierarchicalSidebarFacetConfiguration
- java.lang.Object
-
- org.dspace.discovery.configuration.DiscoverySearchFilter
-
- org.dspace.discovery.configuration.DiscoverySearchFilterFacet
-
- org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration
-
public class HierarchicalSidebarFacetConfiguration extends DiscoverySearchFilterFacet
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_FACET
-
Fields inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
FILTER_TYPE_DEFAULT, indexFieldName, isOpenByDefault, metadataFields, pageSize, type
-
-
Constructor Summary
Constructors Constructor Description HierarchicalSidebarFacetConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSplitter()booleanisSkipFirstNodeLevel()voidsetSkipFirstNodeLevel(boolean skipFirstNodeLevel)voidsetSplitter(String splitter)voidsetType(String type)Sets 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-
Methods inherited from class org.dspace.discovery.configuration.DiscoverySearchFilterFacet
exposeMinAndMaxValue, getFacetLimit, getFilterType, getSortOrderFilterPage, getSortOrderSidebar, setExposeMinAndMaxValue, setFacetLimit, setSortOrderFilterPage, setSortOrderSidebar
-
Methods inherited from class org.dspace.discovery.configuration.DiscoverySearchFilter
getIndexFieldName, getMetadataFields, getPageSize, getType, isOpenByDefault, setIndexFieldName, setIsOpenByDefault, setMetadataFields, setPageSize
-
-
-
-
Method Detail
-
getSplitter
public String getSplitter()
-
setSplitter
@Autowired(required=true) public void setSplitter(String splitter)
-
isSkipFirstNodeLevel
public boolean isSkipFirstNodeLevel()
-
setSkipFirstNodeLevel
public void setSkipFirstNodeLevel(boolean skipFirstNodeLevel)
-
setType
public void setType(String type) throws DiscoveryConfigurationException
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 indiciating this
-
-