com.atlassian.confluence.it
Class Comment

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

public class Comment
extends AbstractContentEntity
implements LinkableContent


Field Summary
static Comment TEST
           
 
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
 
Constructor Summary
Comment(AbstractPageEntity page, String content)
           
Comment(AbstractPageEntity page, String content, long parentId)
           
 
Method Summary
 long getCommentId()
           
 String getEditUrl()
           
 long getPageId()
           
 long getParentId()
           
 String getRemoveUrl()
           
 UrlBuilder getReplyUrl()
           
 Space getSpace()
           
 String getTitle()
           
 String getUrl()
           
 UrlBuilder getUrlBuilder()
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getId, getIdAsString, getLastModificationDate, getLastModifier, getVersion, setContent, setId, setLastModificationDate, setLastModifier, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEST

public static Comment TEST
Constructor Detail

Comment

public Comment(AbstractPageEntity page,
               String content)

Comment

public Comment(AbstractPageEntity page,
               String content,
               long parentId)
Method Detail

getPageId

public long getPageId()

getCommentId

public long getCommentId()

getParentId

public long getParentId()

getTitle

public String getTitle()
Specified by:
getTitle in interface ContentEntity
Specified by:
getTitle in interface TitledContent
Returns:
the title of this entity

getUrl

public String getUrl()
Specified by:
getUrl in interface LinkableContent

getUrlBuilder

public UrlBuilder getUrlBuilder()
Specified by:
getUrlBuilder in interface LinkableContent

getEditUrl

public String getEditUrl()
Specified by:
getEditUrl in interface ContentEntity
Returns:
the url where this entity can be edited.

getRemoveUrl

public String getRemoveUrl()

getReplyUrl

public UrlBuilder getReplyUrl()

getSpace

public Space getSpace()
Specified by:
getSpace in interface ContentEntity
Returns:
the space this content belongs to.


Copyright © 2003-2012 Atlassian. All Rights Reserved.