Class ViewBlogPostsByDateAction

All Implemented Interfaces:
WebInterface, Spaced, BreadcrumbAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class ViewBlogPostsByDateAction extends AbstractBlogPostsAction implements BreadcrumbAware
See Also:
  • Constructor Details

    • ViewBlogPostsByDateAction

      public ViewBlogPostsByDateAction()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class AbstractBlogPostsAction
      Throws:
      Exception
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • getCalendarForThisMonth

      public BlogPostsCalendar getCalendarForThisMonth()
    • getBlogPosts

      public List getBlogPosts()
      Ordered by date, newest first
    • getAggregatedBlogPosts

      public Map getAggregatedBlogPosts()
    • getPostingDate

      public String getPostingDate()
    • setPostingDate

      public void setPostingDate(String postingDate)
    • getPostingDay

      public Calendar getPostingDay()
    • getPostingDayOfMonth

      public String getPostingDayOfMonth()
    • getPostingYear

      public String getPostingYear()
    • getPostingMonthNumeric

      public String getPostingMonthNumeric()
    • getPostingMonth

      public String getPostingMonth()
    • getPostingMonth

      public String getPostingMonth(DateFormatter dateFormatter)
    • getNextPost

      public BlogPost getNextPost()
    • getNextDatePost

      public BlogPost getNextDatePost()
    • getPreviousPost

      public BlogPost getPreviousPost()
    • getPreviousDatePost

      public BlogPost getPreviousDatePost()
    • getPeriod

      public int getPeriod()
    • setPeriod

      public void setPeriod(int period)
    • getFormattedDateRangeDescription

      public String getFormattedDateRangeDescription()
    • setBreadcrumbGenerator

      public void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
    • getBreadcrumb

      public Breadcrumb getBreadcrumb()
      Description copied from interface: BreadcrumbAware
      Returns the breadcrumb to be shown when the action is accessed.
      Specified by:
      getBreadcrumb in interface BreadcrumbAware
      Returns:
      Breadcrumb
    • isBlogPostsByDateAction

      public boolean isBlogPostsByDateAction()
    • getCurrentPage

      public int getCurrentPage()
    • setCurrentPage

      public void setCurrentPage(int currentPage)
    • isOldestPage

      public boolean isOldestPage()
    • setSearchManager

      public void setSearchManager(SearchManager searchManager)