com.atlassian.confluence.pages
Interface ContentConvertible

All Known Implementing Classes:
AbstractContentEntity, AbstractPageEntity, Attachment, Attachment, BlogPost, BlogPost, Comment, Comment, CustomContentEntityObject, Draft, Page, Page, UserInformation, UserStatus

public interface ContentConvertible

Declares that the implementing class can be converted to an api Content.


Method Summary
 ContentId getContentId()
           
 ContentType getContentTypeObject()
           
 boolean shouldConvertToContent()
           
 

Method Detail

getContentTypeObject

ContentType getContentTypeObject()
Returns:
the api ContentType that this ContentConvertible converts to
Since:
5.7

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


Copyright © 2003–2015 Atlassian. All rights reserved.