Interface HippoHtmlBean
-
- All Superinterfaces:
Comparable<HippoBean>
,ContentBean
,HippoBean
,IdentifiableContentBean
,NodeAware
,ObjectConverterAware
public interface HippoHtmlBean extends HippoBean
Implementing classes represent a html node in the ecm repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getContent()
Since in the Page Model API (PMA) we do not want to serialize the raw String content (but instead a rewritten content resolving internal links), we ignore thegetContent()
in PMA via@PageModelIgnore
String
getDisplayName()
Returns the display name of the backing jcr node for this bean as determined by itshippo:name
property or the node name of the backing jcr node if no such property existsString
getName()
This returns the node name of the backing jcr node for this beandefault String
getRepresentationId()
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, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, 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 Detail
-
getRepresentationId
default String 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
-
getName
String getName()
Description copied from interface:HippoBean
This returns the node name of the backing jcr node for this bean
-
getDisplayName
String getDisplayName()
Description copied from interface:HippoBean
Returns the display name of the backing jcr node for this bean as determined by itshippo:name
property or the node name of the backing jcr node if no such property exists- Specified by:
getDisplayName
in interfaceHippoBean
- Returns:
- the display name of the backing jcr node for this bean as determined by its
hippo:name
property or the node name of the backing jcr node if no such proeprty exists
-
getContent
String getContent()
Since in the Page Model API (PMA) we do not want to serialize the raw String content (but instead a rewritten content resolving internal links), we ignore the
getContent()
in PMA via@PageModelIgnore
- Returns:
- the string value of the content for the html bean
-
-