@Deprecated public class Comment extends AbstractContentEntity implements LinkableContent
Modifier and Type | Field and Description |
---|---|
static Comment |
TEST
Deprecated.
|
content, id, lastModificationDate, lastModifier, version
Constructor and Description |
---|
Comment(AbstractPageEntity page,
Attachment attachment,
String content,
long parentId)
Deprecated.
|
Comment(AbstractPageEntity page,
String content)
Deprecated.
|
Comment(AbstractPageEntity page,
String content,
long parentId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
getAttachment()
Deprecated.
|
long |
getCommentId()
Deprecated.
|
ContentType |
getContentType()
Deprecated.
|
String |
getEditUrl()
Deprecated.
|
AbstractPageEntity |
getPage()
Deprecated.
|
long |
getPageId()
Deprecated.
|
long |
getParentId()
Deprecated.
|
String |
getRemoveUrl()
Deprecated.
|
UrlBuilder |
getReplyUrl()
Deprecated.
|
Space |
getSpace()
Deprecated.
|
String |
getTitle()
Deprecated.
|
String |
getUrl()
Deprecated.
|
UrlBuilder |
getUrlBuilder()
Deprecated.
|
boolean |
isFileAnnotation()
Deprecated.
|
boolean |
shouldConvertToContent()
Deprecated.
|
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
public static Comment TEST
public Comment(AbstractPageEntity page, String content)
public Comment(AbstractPageEntity page, String content, long parentId)
public Comment(AbstractPageEntity page, Attachment attachment, String content, long parentId)
public Attachment getAttachment()
public boolean isFileAnnotation()
public AbstractPageEntity getPage()
public long getPageId()
public long getCommentId()
public long getParentId()
public String getTitle()
getTitle
in interface ContentEntity
getTitle
in interface TitledContent
public String getUrl()
getUrl
in interface LinkableContent
public UrlBuilder getUrlBuilder()
getUrlBuilder
in interface LinkableContent
public String getEditUrl()
getEditUrl
in interface ContentEntity
public String getRemoveUrl()
public UrlBuilder getReplyUrl()
public Space getSpace()
getSpace
in interface ContentEntity
public ContentType getContentType()
getContentType
in interface ContentEntity
getContentType
in class AbstractContentEntity
public boolean shouldConvertToContent()
shouldConvertToContent
in interface ContentConvertible
Copyright © 2003–2018 Atlassian. All rights reserved.