Interface HippoFacetNavigationBean
- All Superinterfaces:
Comparable<HippoBean>
,ContentBean
,HippoBean
,HippoFolderBean
,HippoTranslated
,IdentifiableContentBean
,NodeAware
,ObjectConverterAware
,PageModelEntity
- All Known Subinterfaces:
HippoFacetChildNavigationBean
Interface for all nodes of type 'hippo:facetnavigation'
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn all the hippo:count values of all child HippoFacetNavigationBean combined.getCount()
the value of the 'hippo:count' propertyMethods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoBean
equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getContentType, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode
Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoFolderBean
getDocumentIterator, getDocuments, getDocuments, getDocuments, getDocuments, getDocuments, getDocumentSize, getFolders, getFolders
Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoTranslated
getLocale, getLocaleString
Methods inherited from interface org.hippoecm.hst.content.beans.standard.IdentifiableContentBean
getIdentifier, getRepresentationId, setIdentifier
Methods inherited from interface org.hippoecm.hst.content.beans.manager.ObjectConverterAware
getObjectConverter, setObjectConverter
-
Method Details
-
getCount
Long getCount()the value of the 'hippo:count' property- Returns:
- Long value for the count
-
getChildCountsCombined
Long getChildCountsCombined()Return all the hippo:count values of all child HippoFacetNavigationBean combined. This count can be different from the getCount() of thisHippoFacetNavigationBean
because of two reasons:- A document in the resultset can belong to multiple child
HippoFacetNavigationBean
's - A document in the resultset can belong to zero child
HippoFacetNavigationBean
'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 childHippoFacetNavigationBean
represent
- Returns:
- Return all the hippo:count values of all child HippoFacetNavigationBean combined.
- A document in the resultset can belong to multiple child
-
getResultSet
HippoResultSetBean getResultSet()- Returns:
- the result set below this faceted navigation item and
null
is there is no resultset node, for example when the count is 0
-