com.atlassian.confluence.it
Interface ContentEntity

All Known Implementing Classes:
AbstractContentEntity, BlogPost, Comment, Page, UserStatus

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.
 User getLastModifier()
           
 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.


getLastModifier

User getLastModifier()
Returns:
the last modifier


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