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 CommentTESTDeprecated.-
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 AttachmentgetAttachment()Deprecated.longgetCommentId()Deprecated.ContentTypegetContentType()Deprecated.StringgetEditUrl()Deprecated.AbstractPageEntitygetPage()Deprecated.longgetPageId()Deprecated.longgetParentId()Deprecated.StringgetRemoveUrl()Deprecated.UrlBuildergetReplyUrl()Deprecated.SpacegetSpace()Deprecated.StringgetTitle()Deprecated.StringgetUrl()Deprecated.UrlBuildergetUrlBuilder()Deprecated.booleanisFileAnnotation()Deprecated.booleanshouldConvertToContent()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:
getTitlein interfaceContentEntity- Specified by:
getTitlein interfaceTitledContent- Returns:
- the title of this entity
-
getUrl
public String getUrl()
Deprecated.- Specified by:
getUrlin interfaceLinkableContent
-
getUrlBuilder
public UrlBuilder getUrlBuilder()
Deprecated.- Specified by:
getUrlBuilderin interfaceLinkableContent
-
getEditUrl
public String getEditUrl()
Deprecated.- Specified by:
getEditUrlin 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:
getSpacein interfaceContentEntity- Returns:
- the space this content belongs to.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentTypein interfaceContentEntity- Overrides:
getContentTypein classAbstractContentEntity- Returns:
- the ContentType of this entity
-
shouldConvertToContent
public boolean shouldConvertToContent()
Deprecated.- Specified by:
shouldConvertToContentin interfaceContentConvertible- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
-
-