Class AbstractBlogPostsAction

    • Constructor Detail

      • AbstractBlogPostsAction

        public AbstractBlogPostsAction()
    • Method Detail

      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • setPageManager

        public void setPageManager​(PageManager pageManager)
      • getFirstPostInNextMonth

        public BlogPost getFirstPostInNextMonth​(Calendar postingDate)
        Returns the first post in the month after the current postingDay
        Parameters:
        postingDate -
        Returns:
        BlogPost for the first post in the next month, null otherwise
      • getLastPostInPreviousMonth

        public BlogPost getLastPostInPreviousMonth​(Calendar postingDate)
        Returns the last post in the month before the current postingDay
        Parameters:
        postingDate -
        Returns:
        BlogPost for the last post in the previous month, null otherwise
      • setViewRenderer

        public void setViewRenderer​(Renderer viewRenderer)
      • getHasCreatePermission

        public boolean getHasCreatePermission()