Package com.atlassian.confluence.it
Class BlogPost
- java.lang.Object
-
- com.atlassian.confluence.it.AbstractContentEntity
-
- com.atlassian.confluence.it.AbstractPageEntity
-
- com.atlassian.confluence.it.BlogPost
-
- All Implemented Interfaces:
ContentEntity,LinkableContent,TitledContent,VersionedContent,ContentConvertible
@Deprecated public class BlogPost extends AbstractPageEntity
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 BlogPostTESTDeprecated.-
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UrlBuildergetAddCommentUrl()Deprecated.StringgetBlogSourceUrl()Deprecated.ContentTypegetContentType()Deprecated.StringgetDateString()Deprecated.StringgetDateString(Date blogPostDate)Deprecated.UrlBuildergetEditCommentUrl(long commentId)Deprecated.Since 5.8StringgetEditUrl()Deprecated.DategetPublishDate()Deprecated.UrlBuildergetReplyCommentUrl(long commentId)Deprecated.Since 5.8SpacegetSpace()Deprecated.StringgetTitle()Deprecated.StringgetUrl()Deprecated.StringgetUrl(Date blogPostDate)Deprecated.StringgetUrlWithDate()Deprecated.StringgetViewAttachmentsUrl()Deprecated.voidsetPublishDate(Date date)Deprecated.voidsetTitle(String title)Deprecated.Edit the title of this object.booleanshouldConvertToContent()Deprecated.-
Methods inherited from class com.atlassian.confluence.it.AbstractPageEntity
getPageDiffUrl, getUrlBuilder, setSpace
-
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 BlogPost TEST
Deprecated.
-
-
Method Detail
-
getSpace
public Space getSpace()
Deprecated.- Returns:
- the space this content belongs to.
-
getTitle
public String getTitle()
Deprecated.- Returns:
- the title of this entity
-
getEditUrl
public String getEditUrl()
Deprecated.- Returns:
- the url where this entity can be edited.
-
getUrl
public String getUrl()
Deprecated.
-
getUrlWithDate
public String getUrlWithDate()
Deprecated.
-
getBlogSourceUrl
public String getBlogSourceUrl()
Deprecated.
-
getViewAttachmentsUrl
public String getViewAttachmentsUrl()
Deprecated.
-
getAddCommentUrl
public UrlBuilder getAddCommentUrl()
Deprecated.- Specified by:
getAddCommentUrlin classAbstractPageEntity
-
getReplyCommentUrl
public UrlBuilder getReplyCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getReplyCommentUrlin classAbstractPageEntity- Returns:
-
getEditCommentUrl
public UrlBuilder getEditCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getEditCommentUrlin classAbstractPageEntity- Returns:
-
getDateString
public String getDateString()
Deprecated.
-
setPublishDate
public void setPublishDate(Date date)
Deprecated.
-
getPublishDate
public Date getPublishDate()
Deprecated.
-
setTitle
public void setTitle(String title)
Deprecated.Edit the title of this object. WARNING: changing this field will not update the system by itself, and operations that try to look up this blog post by the new title will fail until the system is actually updated.- Parameters:
title- the new title for the page.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentTypein interfaceContentEntity- Overrides:
getContentTypein classAbstractContentEntity- Returns:
- the ContentType of this entity
-
shouldConvertToContent
public boolean shouldConvertToContent()
Deprecated.- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
-
-