com.atlassian.confluence.it
Interface ContentEntity

All Known Implementing Classes:
BlogPost, Comment, Page

public interface ContentEntity

Defines an entity object containing content, such as a Page, BlogPost or Comment. Content entities have urls for editing, and content getter/setters.


Method Summary
 java.lang.String getContent()
          Return the content of this entity.
 java.lang.String getEditUrl()
          Return the url where this entity can be edited.
 long getId()
          Return the id used for persistence of this entity.
 Space getSpace()
          Return the space this content belongs to.
 void setId(long id)
          Set the id used for persistence of this entity.
 

Method Detail

getId

long getId()
Return the id used for persistence of this entity.


setId

void setId(long id)
Set the id used for persistence of this entity.


getContent

java.lang.String getContent()
Return the content of this entity.


getEditUrl

java.lang.String getEditUrl()
Return the url where this entity can be edited.


getSpace

Space getSpace()
Return the space this content belongs to.



Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.