@Deprecated public class BlogPost extends AbstractPageEntity
Modifier and Type | Field and Description |
---|---|
static BlogPost |
TEST
Deprecated.
|
content, id, lastModificationDate, lastModifier, version
Constructor and Description |
---|
BlogPost(BlogPost blogPost)
Deprecated.
|
BlogPost(Space space,
String title,
String content)
Deprecated.
|
BlogPost(Space space,
String title,
String content,
Date publishDate)
Deprecated.
|
Modifier and Type | Method and 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.8
|
String |
getEditUrl()
Deprecated.
|
Date |
getPublishDate()
Deprecated.
|
UrlBuilder |
getReplyCommentUrl(long commentId)
Deprecated.
Since 5.8
|
Space |
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.
|
getPageDiffUrl, getUrlBuilder, setSpace
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
public static BlogPost TEST
public BlogPost(BlogPost blogPost)
public Space getSpace()
public String getTitle()
public String getEditUrl()
public String getUrl()
public String getUrlWithDate()
public String getBlogSourceUrl()
public String getViewAttachmentsUrl()
public UrlBuilder getAddCommentUrl()
getAddCommentUrl
in class AbstractPageEntity
public UrlBuilder getReplyCommentUrl(long commentId)
getReplyCommentUrl
in class AbstractPageEntity
public UrlBuilder getEditCommentUrl(long commentId)
getEditCommentUrl
in class AbstractPageEntity
public String getDateString()
public void setPublishDate(Date date)
public Date getPublishDate()
public void setTitle(String title)
title
- the new title for the page.public ContentType getContentType()
getContentType
in interface ContentEntity
getContentType
in class AbstractContentEntity
public boolean shouldConvertToContent()
Copyright © 2003–2017 Atlassian. All rights reserved.