public interface

ContentEntity

com.atlassian.confluence.it.ContentEntity
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract String getContent()
Return the content of this entity.
abstract String getEditUrl()
Return the url where this entity can be edited.
abstract long getId()
Return the id used for persistence of this entity.
abstract User getLastModifier()
abstract Space getSpace()
Return the space this content belongs to.
abstract String getTitle()
abstract void setId(long id)
Set the id used for persistence of this entity.

Public Methods

public abstract String getContent ()

Return the content of this entity.

public abstract String getEditUrl ()

Return the url where this entity can be edited.

public abstract long getId ()

Return the id used for persistence of this entity.

public abstract User getLastModifier ()

Returns
  • the last modifier

public abstract Space getSpace ()

Return the space this content belongs to.

public abstract String getTitle ()

Returns
  • the title of this entity

public abstract void setId (long id)

Set the id used for persistence of this entity.