Package com.atlassian.confluence.pages
Interface ContentConvertible
-
- All Known Implementing Classes:
AbstractContentEntity,AbstractPageEntity,Attachment,Attachment,BlogPost,BlogPost,Comment,Comment,CustomContentEntityObject,Draft,Page,Page,UserInformation
public interface ContentConvertibleDeclares that the implementing class can be converted to an apiContent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentIdgetContentId()ContentTypegetContentTypeObject()ContentSelectorgetSelector()booleanshouldConvertToContent()
-
-
-
Method Detail
-
getContentTypeObject
ContentType getContentTypeObject()
- Returns:
- the api ContentType that this ContentConvertible converts to
- Since:
- 5.7
-
getSelector
ContentSelector getSelector()
- Returns:
- the ContentSelector identifying this Content-convertible entity.
-
getContentId
ContentId getContentId()
- Returns:
- the ContentId identifying this Content-convertible entity.
-
shouldConvertToContent
boolean shouldConvertToContent()
- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
-
-