Class CreateRssFeedAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
WebInterface, 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 CreateRssFeedAction extends ConfluenceActionSupport
See Also:
  • Constructor Details

    • CreateRssFeedAction

      public CreateRssFeedAction()
  • Method Details

    • getSyndFeed

      public com.rometools.rome.feed.synd.SyndFeed getSyndFeed()
      function to create the actual RSS feed based on the listQuery.
    • execute

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

      public @NonNull String getRssType()
    • setBlogpostSubTypes

      public void setBlogpostSubTypes(List<String> blogSubTypes)
    • setPageSubTypes

      public void setPageSubTypes(List<String> pageSubTypes)
    • setRssType

      public void setRssType(String rssType)
    • getSort

      public String getSort()
    • setSort

      public void setSort(String sort)
    • setSpaces

      public void setSpaces(List<String> spaces)
    • setExcludedSpaceKeys

      public void setExcludedSpaceKeys(List<String> excludedSpaceKeys)
    • setTypes

      public void setTypes(List<String> types)
    • setMaxResults

      public void setMaxResults(int maxResults)
    • setTimeSpan

      public void setTimeSpan(int timeSpan)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setFeedBuilder

      public void setFeedBuilder(SyndFeedService feedBuilder)
    • getLabelString

      public String getLabelString()
    • setLabelString

      public void setLabelString(String labelString)
    • isShowContent

      public boolean isShowContent()
    • setShowContent

      public void setShowContent(boolean showContent)
    • getLabels

      public List<Label> getLabels()
      uses the label String to create a list of label objects to pass into the query object.
    • createSearchQuery

      public ISearch createSearchQuery()
    • getSiteSearchPermissionsQueryFactory

      public SiteSearchPermissionsQueryFactory getSiteSearchPermissionsQueryFactory()
    • setSiteSearchPermissionsQueryFactory

      public void setSiteSearchPermissionsQueryFactory(SiteSearchPermissionsQueryFactory siteSearchPermissionsQueryFactory)