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 Details

    • 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 interface IdentifiableContentBean
      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
      Specified by:
      getName in interface HippoBean
      Returns:
      the node name of the backing jcr node. This method never returns null
    • getDisplayName

      String getDisplayName()
      Description copied from interface: HippoBean
      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 property exists
      Specified by:
      getDisplayName in interface HippoBean
      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