com.atlassian.confluence.it
Class Comment

java.lang.Object
  extended by com.atlassian.confluence.it.Comment
All Implemented Interfaces:
ContentEntity

public class Comment
extends java.lang.Object
implements ContentEntity


Constructor Summary
Comment(BlogPost blogPost, java.lang.String content)
           
Comment(Page page, java.lang.String content)
           
 
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.
 long getPageId()
           
 Space getSpace()
          Return the space this content belongs to.
 java.lang.String getTitle()
           
 void setContent(java.lang.String content)
           
 void setId(long id)
          Set the id used for persistence of this entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment(Page page,
               java.lang.String content)

Comment

public Comment(BlogPost blogPost,
               java.lang.String content)
Method Detail

getId

public long getId()
Description copied from interface: ContentEntity
Return the id used for persistence of this entity.

Specified by:
getId in interface ContentEntity

setId

public void setId(long id)
Description copied from interface: ContentEntity
Set the id used for persistence of this entity.

Specified by:
setId in interface ContentEntity

getPageId

public long getPageId()

getTitle

public java.lang.String getTitle()

getContent

public java.lang.String getContent()
Description copied from interface: ContentEntity
Return the content of this entity.

Specified by:
getContent in interface ContentEntity

setContent

public void setContent(java.lang.String content)

getEditUrl

public java.lang.String getEditUrl()
Description copied from interface: ContentEntity
Return the url where this entity can be edited.

Specified by:
getEditUrl in interface ContentEntity

getSpace

public Space getSpace()
Description copied from interface: ContentEntity
Return the space this content belongs to.

Specified by:
getSpace in interface ContentEntity


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