com.atlassian.confluence.it
Interface ContentEntity

All Known Implementing Classes:
AbstractContentEntity, BlogPost, Comment, Draft, 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.
 java.lang.String getTitle()
           
 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

getTitle

java.lang.String getTitle()
Returns:
the title of this entity


Copyright © 2003-2010 Atlassian. All Rights Reserved.