@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, setVersionpublic 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 ContentEntitygetTitle in interface TitledContentpublic String getUrl()
getUrl in interface LinkableContentpublic UrlBuilder getUrlBuilder()
getUrlBuilder in interface LinkableContentpublic String getEditUrl()
getEditUrl in interface ContentEntitypublic String getRemoveUrl()
public UrlBuilder getReplyUrl()
public Space getSpace()
getSpace in interface ContentEntitypublic ContentType getContentType()
getContentType in interface ContentEntitygetContentType in class AbstractContentEntitypublic boolean shouldConvertToContent()
shouldConvertToContent in interface ContentConvertibleCopyright © 2003–2022 Atlassian. All rights reserved.