com.atlassian.confluence.it
Interface ContentEntity

All Known Implementing Classes:
AbstractContentEntity, AbstractPageEntity, BlogPost, Comment, Draft, Page, UserInformation, 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
 String getContent()
           
 String getEditUrl()
           
 long getId()
           
 Date getLastModificationDate()
           
 User getLastModifier()
           
 Space getSpace()
           
 String getTitle()
           
 void setId(long id)
          Set the id used for persistence of this entity.
 

Method Detail

getId

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

setId

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


getContent

String getContent()
Returns:
the content of this entity.

getEditUrl

String getEditUrl()
Returns:
the url where this entity can be edited.

getSpace

Space getSpace()
Returns:
the space this content belongs to.

getLastModificationDate

Date getLastModificationDate()

getLastModifier

User getLastModifier()
Returns:
the last modifier

getTitle

String getTitle()
Returns:
the title of this entity


Copyright © 2003-2013 Atlassian. All Rights Reserved.