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 BlogPost
TEST
Deprecated.-
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 UrlBuilder
getAddCommentUrl()
Deprecated.String
getBlogSourceUrl()
Deprecated.ContentType
getContentType()
Deprecated.String
getDateString()
Deprecated.String
getDateString(Date blogPostDate)
Deprecated.UrlBuilder
getEditCommentUrl(long commentId)
Deprecated.Since 5.8String
getEditUrl()
Deprecated.Date
getPublishDate()
Deprecated.UrlBuilder
getReplyCommentUrl(long commentId)
Deprecated.Since 5.8Space
getSpace()
Deprecated.String
getTitle()
Deprecated.String
getUrl()
Deprecated.String
getUrl(Date blogPostDate)
Deprecated.String
getUrlWithDate()
Deprecated.String
getViewAttachmentsUrl()
Deprecated.void
setPublishDate(Date date)
Deprecated.void
setTitle(String title)
Deprecated.Edit the title of this object.boolean
shouldConvertToContent()
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:
getAddCommentUrl
in classAbstractPageEntity
-
getReplyCommentUrl
public UrlBuilder getReplyCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getReplyCommentUrl
in classAbstractPageEntity
- Returns:
-
getEditCommentUrl
public UrlBuilder getEditCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getEditCommentUrl
in 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:
getContentType
in interfaceContentEntity
- Overrides:
getContentType
in 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
-
-