Interface HippoMirrorBean
- All Superinterfaces:
Comparable<HippoBean>
,ContentBean
,HippoBean
,IdentifiableContentBean
,NodeAware
,ObjectConverterAware
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen you want the HippoBean that this mirror represents, you can use this method.default String
in the Page Model API we do not want to show uuid for nodes below a document (compound)Methods 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.IdentifiableContentBean
getIdentifier, setIdentifier
Methods inherited from interface org.hippoecm.hst.content.beans.manager.ObjectConverterAware
getObjectConverter, setObjectConverter
-
Method Details
-
getRepresentationId
in the Page Model API we do not want to show uuid for nodes below a document (compound)- Specified by:
getRepresentationId
in interfaceIdentifiableContentBean
- Returns:
- the representational id for this
IdentifiableContentBean
-
getReferencedBean
HippoBean getReferencedBean()When you want the HippoBean that this mirror represents, you can use this method.
If the mirror is pointing to a
hippo:handle
, then only aHippoBean
is returned if a child node (document) with the same name is present. AHippoBean
for the document (child) is then returned. If no such child,null
is returned.If the mirror point to a node that is not of type
hippo:handle
, aHippoBean
for that node is returned.- Returns:
- the referenced
HippoBean
by this mirror ornull
when missing
-