com.atlassian.confluence.renderer
Class BlogPostReference
java.lang.Object
com.atlassian.confluence.renderer.BlogPostReference
public class BlogPostReference
- extends java.lang.Object
This class is used to represent blogpost reference in markup required for rendering.
Constructor Summary |
BlogPostReference(java.lang.String reference,
java.lang.String spaceKey,
PageManager pageManager)
Blogpost Reference Constructor to parse out the reference into a blogpost |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogPostReference
public BlogPostReference(java.lang.String reference,
java.lang.String spaceKey,
PageManager pageManager)
throws java.text.ParseException
- Blogpost Reference Constructor to parse out the reference into a blogpost
- Parameters:
reference
- - blogpost references are expected to be in the format '/yyyy/MM/dd/blogTitle'spaceKey
- - space where the blog post livespageManager
-
- Throws:
java.text.ParseException
- - thrown if the blog post reference is not in the expected format
getPostingDay
public java.lang.String getPostingDay()
getPostingYear
public java.lang.String getPostingYear()
getPostingMonth
public java.lang.String getPostingMonth()
getEntityName
public java.lang.String getEntityName()
getSpaceKey
public java.lang.String getSpaceKey()
getBlogPost
public BlogPost getBlogPost()
Copyright © 2003-2014 Atlassian. All Rights Reserved.