Package com.atlassian.confluence.content
Interface Content
-
- All Known Implementing Classes:
AbstractPage
,Attachment
,BlogPost
,Comment
,ContentEntityObject
,CustomContentEntityObject
,Draft
,GlobalDescription
,Page
,PersonalInformation
,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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentEntityObject
getEntity()
Gets the ContentEntityObject that backs this piece of content.
-
-
-
Field Detail
-
UNSET
static final Long UNSET
This is the placeholder id used for new content.
-
-
Method Detail
-
getEntity
ContentEntityObject getEntity()
Gets the ContentEntityObject that backs this piece of content.- Returns:
- the persistent object behind this content
-
-