Class BlogPostReference
- java.lang.Object
-
- 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
Constructors Constructor Description BlogPostReference(String reference, String spaceKey, PageManager pageManager)Blogpost Reference Constructor to parse out the reference into a blogpost
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlogPostgetBlogPost()StringgetEntityName()StringgetPostingDay()StringgetPostingMonth()StringgetPostingYear()StringgetSpaceKey()
-
-
-
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 livespageManager-- Throws:
ParseException- - thrown if the blog post reference is not in the expected format
-
-