Package 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
@Deprecated public class Comment extends AbstractContentEntity implements LinkableContent
Deprecated.Please use confluence-java-api module instead. See {com.atlassian.confluence.api.model.content.Content} alternative
-
-
Field Summary
Fields Modifier and Type Field Description static Comment
TEST
Deprecated.-
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
-
-
-
-
Field Detail
-
TEST
public static Comment TEST
Deprecated.
-
-
Constructor Detail
-
Comment
public Comment(AbstractPageEntity page, String content)
Deprecated.
-
Comment
public Comment(AbstractPageEntity page, String content, long parentId)
Deprecated.
-
Comment
public Comment(AbstractPageEntity page, Attachment attachment, String content, long parentId)
Deprecated.
-
-
Method Detail
-
getAttachment
public Attachment getAttachment()
Deprecated.
-
isFileAnnotation
public boolean isFileAnnotation()
Deprecated.
-
getPage
public AbstractPageEntity getPage()
Deprecated.
-
getPageId
public long getPageId()
Deprecated.
-
getCommentId
public long getCommentId()
Deprecated.
-
getParentId
public long getParentId()
Deprecated.
-
getTitle
public String getTitle()
Deprecated.- Specified by:
getTitle
in interfaceContentEntity
- Specified by:
getTitle
in interfaceTitledContent
- Returns:
- the title of this entity
-
getUrl
public String getUrl()
Deprecated.- Specified by:
getUrl
in interfaceLinkableContent
-
getUrlBuilder
public UrlBuilder getUrlBuilder()
Deprecated.- Specified by:
getUrlBuilder
in interfaceLinkableContent
-
getEditUrl
public String getEditUrl()
Deprecated.- Specified by:
getEditUrl
in interfaceContentEntity
- Returns:
- the url where this entity can be edited.
-
getRemoveUrl
public String getRemoveUrl()
Deprecated.
-
getReplyUrl
public UrlBuilder getReplyUrl()
Deprecated.
-
getSpace
public Space getSpace()
Deprecated.- Specified by:
getSpace
in interfaceContentEntity
- Returns:
- the space this content belongs to.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentType
in interfaceContentEntity
- Overrides:
getContentType
in classAbstractContentEntity
- Returns:
- the ContentType of this entity
-
shouldConvertToContent
public boolean shouldConvertToContent()
Deprecated.- Specified by:
shouldConvertToContent
in interfaceContentConvertible
- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
-
-