com.atlassian.confluence.it
Class BlogPost
java.lang.Object
com.atlassian.confluence.it.AbstractContentEntity
com.atlassian.confluence.it.BlogPost
- All Implemented Interfaces:
- ContentEntity, LinkableContent, TitledContent
public class BlogPost
- extends AbstractContentEntity
- implements LinkableContent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogPost
public BlogPost(Space space,
String title,
String content)
BlogPost
public BlogPost(BlogPost blogPost)
getSpace
public Space getSpace()
- Description copied from interface:
ContentEntity
- Return the space this content belongs to.
- Specified by:
getSpace in interface ContentEntity
getTitle
public String getTitle()
- Specified by:
getTitle in interface ContentEntity- Specified by:
getTitle in interface TitledContent
- Returns:
- the title of this entity
getEditUrl
public String getEditUrl()
- Description copied from interface:
ContentEntity
- Return the url where this entity can be edited.
- Specified by:
getEditUrl in interface ContentEntity
getUrl
public String getUrl()
- Specified by:
getUrl in interface LinkableContent
getUrl
public String getUrl(Date blogPostDate)
getAddCommentUrl
public String getAddCommentUrl(Date blogPostDate)
getDateString
public String getDateString(Date blogPostDate)
setPublishDate
public void setPublishDate(Date date)
getPublishDate
public Date getPublishDate()
setTitle
public void setTitle(String title)
- 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.
Copyright © 2003-2011 Atlassian. All Rights Reserved.