com.atlassian.confluence.renderer
Class BlogPostReference

java.lang.Object
  extended by com.atlassian.confluence.renderer.BlogPostReference

public class BlogPostReference
extends Object

This class is used to represent blogpost reference in markup required for rendering.


Constructor Summary
BlogPostReference(String reference, String spaceKey, PageManager pageManager)
          Blogpost Reference Constructor to parse out the reference into a blogpost
 
Method Summary
 BlogPost getBlogPost()
           
 String getEntityName()
           
 String getPostingDay()
           
 String getPostingMonth()
           
 String getPostingYear()
           
 String getSpaceKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogPostReference

public BlogPostReference(String reference,
                         String spaceKey,
                         PageManager pageManager)
                  throws 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 lives
pageManager -
Throws:
ParseException - - thrown if the blog post reference is not in the expected format
Method Detail

getPostingDay

public String getPostingDay()

getPostingYear

public String getPostingYear()

getPostingMonth

public String getPostingMonth()

getEntityName

public String getEntityName()

getSpaceKey

public String getSpaceKey()

getBlogPost

public BlogPost getBlogPost()


Copyright © 2003-2013 Atlassian. All Rights Reserved.