@Indexable(ignore=true) public class HippoFacetNavigation extends HippoFolder implements HippoFacetNavigationBean
HippoItem.ComparatorMap
hippoDocuments, hippoFolders
comparePath, detached, displayName, localizedName, name, node, objectConverter, path, valueProvider
Constructor and Description |
---|
HippoFacetNavigation() |
Modifier and Type | Method and Description |
---|---|
Long |
getChildCountsCombined()
Return all the hippo:count values of all child HippoFacetNavigationBean combined.
|
Long |
getCount()
the value of the 'hippo:count' property
|
List<HippoDocumentBean> |
getDocuments(boolean sorted)
because there are only documents below the resultset, we can return empty list here directly
|
List<HippoFolderBean> |
getFolders(boolean sorted)
HippoFacetNavigation does not return the HippoResultSetBean as a folder, as this is normally a
folder that is not wanted to be displayed, and can be accessed through
getResultSet() already |
HippoResultSetBean |
getResultSet() |
HippoFacetNavigationBean |
getRootFacetNavigationBean() |
boolean |
isLeaf() |
getDocumentIterator, getDocuments, getDocuments, getDocuments, getDocuments, getDocumentSize, getFolders, getLocale, getLocaleString
attach, compareTo, detach, equalCompare, equals, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getDisplayName, getEqualComparator, getIdentifier, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getObjectConverter, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, hashCode, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isSelf, setComparePath, setDisplayName, setIdentifier, setLocalizedName, setName, setNode, setObjectConverter, setPath
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDocumentIterator, getDocuments, getDocuments, getDocuments, getDocuments, getDocumentSize, getFolders
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getLocalizedName, getName, getNode, getParentBean, getPath, getProperties, getProperty, getProperty, getProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isSelf
getIdentifier, setIdentifier
getObjectConverter, setObjectConverter
compareTo
getLocale, getLocaleString
public List<HippoFolderBean> getFolders(boolean sorted)
getResultSet()
alreadygetFolders
in interface HippoFolderBean
getFolders
in class HippoFolder
sorted
- if true, the list of folder will be returned sorted by their default Comparable.compareTo(Object)
HippoFolderBean
below this HippoFolderBean
and an empty list if no folders presentpublic Long getChildCountsCombined()
HippoFacetNavigationBean
HippoFacetNavigationBean
because of two reasons:
HippoFacetNavigationBean
'sHippoFacetNavigationBean
's: this happens for example when
the document has a property, say 'my:date' , but its date does not belong to any of the ranges that the child HippoFacetNavigationBean
representgetChildCountsCombined
in interface HippoFacetNavigationBean
public List<HippoDocumentBean> getDocuments(boolean sorted)
getDocuments
in interface HippoFolderBean
getDocuments
in class HippoFolder
sorted
- indicates whether the List should be sortedsorted
is true, the sorted list of HippoDocumentBean
s below this HippoFolderBean
, where the sorting is according Comparable.compareTo(Object)
, If sorted
is false, the same list as HippoFolderBean.getDocuments()
is returned. An empty list is returned if no documents are present.public boolean isLeaf()
public Long getCount()
HippoFacetNavigationBean
getCount
in interface HippoFacetNavigationBean
public HippoResultSetBean getResultSet()
getResultSet
in interface HippoFacetNavigationBean
null
is there is no resultset node, for example when the count is 0public HippoFacetNavigationBean getRootFacetNavigationBean()
getRootFacetNavigationBean
in interface HippoFacetNavigationBean
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.