public class BlogPost extends AbstractPageEntity
| Modifier and Type | Field and Description |
|---|---|
static BlogPost |
TEST |
content, id, lastModificationDate, lastModifier, version| Constructor and Description |
|---|
BlogPost(BlogPost blogPost) |
BlogPost(Space space,
String title,
String content) |
BlogPost(Space space,
String title,
String content,
Date publishDate) |
| Modifier and Type | Method and Description |
|---|---|
UrlBuilder |
getAddCommentUrl() |
String |
getBlogSourceUrl() |
ContentType |
getContentType() |
String |
getDateString() |
String |
getDateString(Date blogPostDate) |
String |
getEditUrl() |
Date |
getPublishDate() |
Space |
getSpace() |
String |
getTitle() |
String |
getUrl() |
String |
getUrl(Date blogPostDate) |
String |
getUrlWithDate() |
String |
getViewAttachmentsUrl() |
void |
setPublishDate(Date date) |
void |
setTitle(String title)
Edit the title of this object.
|
boolean |
shouldConvertToContent() |
getPageDiffUrl, getUrlBuilder, setSpacegetContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersionpublic 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 AbstractPageEntitypublic 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 ContentEntitygetContentType in class AbstractContentEntitypublic boolean shouldConvertToContent()
Copyright © 2003–2016 Atlassian. All rights reserved.