Package com.atlassian.confluence.content
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
-
Method Summary
Modifier and TypeMethodDescriptionGets the ContentEntityObject that backs this piece of content.
-
Field Details
-
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
-