Class RecentBlogPostsAction

All Implemented Interfaces:
WebInterface, SpaceAware, Spaced, 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 RecentBlogPostsAction extends AbstractBlogPostsAction implements SpaceAware
See Also:
  • Constructor Details

    • RecentBlogPostsAction

      public RecentBlogPostsAction()
  • Method Details

    • getBlogPosts

      public List getBlogPosts()
    • execute

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

      public BlogPostsCalendar getCalendarForThisMonth()
    • getRssDescriptor

      public RssDescriptor getRssDescriptor()
    • isSpaceRequired

      public boolean isSpaceRequired()
      Description copied from interface: SpaceAware
      If the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result
      Specified by:
      isSpaceRequired in interface SpaceAware
      Returns:
      true if the action requires a space in order to execute
    • isViewPermissionRequired

      public boolean isViewPermissionRequired()
      Specified by:
      isViewPermissionRequired in interface SpaceAware
      Returns:
      true if the action requires view space permission
    • getCurrentPage

      public int getCurrentPage()
    • isRecentBlogPosts

      public boolean isRecentBlogPosts()
    • setCurrentPage

      public void setCurrentPage(int currentPage)
    • isOldestPage

      public boolean isOldestPage()