Interface Content

All Known Implementing Classes:
AbstractPage, Attachment, BlogPost, Comment, ContentEntityObject, CustomContentEntityObject, Draft, GlobalDescription, Page, PersonalInformation, ReadOnlyAttachment, ReadOnlySpaceDescription, SpaceContentEntityObject, SpaceDescription

public interface Content
Placeholder for an improved API for handling Content. Right now, it only has one method which allows the retrieval of the old Content base class.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Long
    This is the placeholder id used for new content.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ContentEntityObject that backs this piece of content.
  • Field Details

    • UNSET

      static final Long UNSET
      This is the placeholder id used for new content.
  • Method Details

    • getEntity

      ContentEntityObject getEntity()
      Gets the ContentEntityObject that backs this piece of content.
      Returns:
      the persistent object behind this content