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
 java.lang.String getContent()
           
 ContentType getContentType()
           
 java.lang.String getEditUrl()
           
 long getId()
           
 java.util.Date getLastModificationDate()
           
 User getLastModifier()
           
 Space getSpace()
           
 java.lang.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

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

getEditUrl

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

getSpace

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

getLastModificationDate

java.util.Date getLastModificationDate()

getLastModifier

User getLastModifier()
Returns:
the last modifier

getTitle

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

getContentType

ContentType getContentType()
Returns:
the ContentType of this entity


Copyright © 2003-2014 Atlassian. All Rights Reserved.