public class

AbstractBlogPostsAction

extends AbstractSpaceAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.spaces.actions.AbstractSpaceAction
         ↳ com.atlassian.confluence.pages.actions.AbstractBlogPostsAction
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected PageManager pageManager
[Expand]
Inherited Fields
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractBlogPostsAction()
Public Methods
BlogPost getFirstPostInNextMonth(Calendar postingDate)
Returns the first post in the month after the current postingDay
BlogPost getLastPostInPreviousMonth(Calendar postingDate)
Returns the last post in the month before the current postingDay
String renderBlogPost(BlogPost post)
void setPageManager(PageManager pageManager)
void setViewRenderer(Renderer viewRenderer)
[Expand]
Inherited Methods
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Fields

protected PageManager pageManager

Public Constructors

public AbstractBlogPostsAction ()

Public Methods

public BlogPost getFirstPostInNextMonth (Calendar postingDate)

Returns the first post in the month after the current postingDay

Returns
  • BlogPost for the first post in the next month, null otherwise

public BlogPost getLastPostInPreviousMonth (Calendar postingDate)

Returns the last post in the month before the current postingDay

Returns
  • BlogPost for the last post in the previous month, null otherwise

public String renderBlogPost (BlogPost post)

public void setPageManager (PageManager pageManager)

public void setViewRenderer (Renderer viewRenderer)