Class ConfigureRssFeedAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
FormAware, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Preparable, org.apache.struts2.Validateable

public class ConfigureRssFeedAction extends ConfluenceActionSupport implements com.opensymphony.xwork2.Preparable, FormAware
See Also:
  • Constructor Details

    • ConfigureRssFeedAction

      public ConfigureRssFeedAction()
  • Method Details

    • prepare

      public void prepare()
      Specified by:
      prepare in interface org.apache.struts2.Preparable
    • 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
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      @XsrfProtectionExcluded 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
    • getContentEntityManager

      public ContentEntityManager getContentEntityManager()
    • setContentEntityManager

      public void setContentEntityManager(ContentEntityManager contentEntityManager)
    • getSubContentEntityTypes

      public List<com.atlassian.core.util.PairType> getSubContentEntityTypes()
    • getContentStatusList

      public List<com.atlassian.core.util.PairType> getContentStatusList()
    • getRssTypes

      public List<com.atlassian.core.util.PairType> getRssTypes()
    • getRssSorts

      public List<com.atlassian.core.util.PairType> getRssSorts()
    • getAccessTypes

      public List<com.atlassian.core.util.PairType> getAccessTypes()
    • getNiceRssType

      public String getNiceRssType()
    • getSpacesAsNiceList

      public String getSpacesAsNiceList(List spaceList)
    • getAvailableGlobalSpaces

      public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces()
      Find all spaces that user has permission to view and allow them to search among these
      Returns:
      List
    • getAggregateOptions

      public List<com.atlassian.core.util.PairType> getAggregateOptions()
    • getFavouriteSpaces

      public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces()
    • getContentListAsString

      public String getContentListAsString()
      creates a comma separated String based on the configured list of content types
    • getCustomContentType

      public FeedCustomContentType getCustomContentType(String identifier)
    • getCustomContentTypes

      public List<FeedCustomContentType> getCustomContentTypes()
    • isWebdavEnabled

      public boolean isWebdavEnabled()
    • hasAnonymousAccess

      public boolean hasAnonymousAccess()
    • getSpaces

      public List getSpaces()
    • setSpaces

      public void setSpaces(List spaces)
    • getExcludedSpaceKeys

      public List getExcludedSpaceKeys()
    • setExcludedSpaceKeys

      public void setExcludedSpaceKeys(List excludedSpaceKeys)
    • getTypes

      public List<String> getTypes()
    • setTypes

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

      public boolean isModified()
    • setModified

      public void setModified(boolean modified)
    • getMaxResults

      public int getMaxResults()
    • setMaxResults

      public void setMaxResults(int maxResults)
    • getTimeSpan

      public int getTimeSpan()
    • setTimeSpan

      public void setTimeSpan(int timeSpan)
    • isCreated

      public boolean isCreated()
    • setCreated

      public void setCreated(boolean created)
    • setBlogpostSubTypes

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

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

      public String getRssLink()
    • setRssLink

      public void setRssLink(String rssLink)
    • getRssType

      public String getRssType()
    • setRssType

      public void setRssType(String rssType)
    • getSort

      public String getSort()
    • setSort

      public void setSort(String sort)
    • isPublicFeed

      public boolean isPublicFeed()
    • setPublicFeed

      public void setPublicFeed(boolean publicFeed)
    • getSelectedPublicFeed

      public String getSelectedPublicFeed()
      In order to select the RadioBox in velocity we need to provide a String instead of a boolean.
      Returns:
      String
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setSpaceManager

      public void setSpaceManager(SpaceManager spaceManager)
    • isShowContent

      public boolean isShowContent()
    • setShowContent

      public void setShowContent(boolean showContent)
    • isEditMode

      public boolean isEditMode()
      Specified by:
      isEditMode in interface FormAware