com.atlassian.confluence.it
Class Comment
java.lang.Object
com.atlassian.confluence.it.AbstractContentEntity
com.atlassian.confluence.it.Comment
- All Implemented Interfaces:
- ContentEntity, LinkableContent, TitledContent, VersionedContent, ContentConvertible
public class Comment
- extends AbstractContentEntity
- implements LinkableContent
| Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity |
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST
public static Comment TEST
Comment
public Comment(AbstractPageEntity page,
String content)
Comment
public Comment(AbstractPageEntity page,
String content,
long parentId)
Comment
public Comment(AbstractPageEntity page,
Attachment attachment,
String content,
long parentId)
getAttachment
public Attachment getAttachment()
isFileAnnotation
public boolean isFileAnnotation()
getPage
public AbstractPageEntity getPage()
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.
getContentType
public ContentType getContentType()
- Specified by:
getContentType in interface ContentEntity- Overrides:
getContentType in class AbstractContentEntity
- Returns:
- the ContentType of this entity
shouldConvertToContent
public boolean shouldConvertToContent()
- Specified by:
shouldConvertToContent in interface ContentConvertible
- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
Copyright © 2003–2015 Atlassian. All rights reserved.